MCPcopy Create free account
hub / github.com/baidu/tera / PrintMetaInfo

Function PrintMetaInfo

src/admincli.cc:313–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313static void PrintMetaInfo(const TabletMeta* meta) {
314 std::cout << "tablet: " << meta->table_name() << " [" << meta->key_range().key_start() << " ("
315 << DebugString(meta->key_range().key_start()) << "), " << meta->key_range().key_end()
316 << " (" << DebugString(meta->key_range().key_end()) << ")], " << meta->path() << ", "
317 << meta->server_addr() << ", " << meta->size() << ", "
318 << StatusCodeToString(meta->status()) << ", "
319 << StatusCodeToString(meta->compact_status()) << std::endl;
320}
321
322CliStatus GetMetaValue(const std::string& meta_server, common::ThreadPool* thread_pool,
323 const std::string& table_name, const std::string& start_key,

Callers 3

GetMetaFunction · 0.85
DeleteMetaTabletFunction · 0.85
MetaGetOpFunction · 0.85

Calls 4

DebugStringFunction · 0.85
StatusCodeToStringFunction · 0.85
sizeMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected