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

Method GetTabletsCount

src/master/tablet_manager.cc:594–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592}
593
594int64_t Table::GetTabletsCount() {
595 MutexLock lock(&mutex_);
596 return tablets_list_.size();
597}
598
599void Table::GetTsAddrTabletsCount(std::map<std::string, int64_t>* ts_addr_tablets_count) {
600 MutexLock lock(&mutex_);

Callers 2

AddDeltaQuotaMethod · 0.80
GetAllTabletsCountMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected