| 380 | } |
| 381 | |
| 382 | CliStatus GetMeta(const std::string& meta_server, common::ThreadPool* thread_pool, |
| 383 | const std::string& table_name, const std::string& start_key) { |
| 384 | TabletMeta tablet_meta; |
| 385 | TableMeta table_meta; |
| 386 | if (GetMetaValue(meta_server, thread_pool, table_name, start_key, &table_meta, &tablet_meta) != |
| 387 | CliStatus::kOk) { |
| 388 | std::cout << "wrong tablet input" << std::endl; |
| 389 | return CliStatus::kError; |
| 390 | } |
| 391 | PrintMetaInfo(&tablet_meta); |
| 392 | return CliStatus::kOk; |
| 393 | } |
| 394 | |
| 395 | CliStatus DeleteMetaTablet(const std::string& meta_server, common::ThreadPool* thread_pool, |
| 396 | const std::string& table_name, const std::string& start_key) { |
no test coverage detected