MCPcopy Create free account
hub / github.com/apache/kudu / ClearCache

Method ClearCache

src/kudu/client/meta_cache.cc:1378–1385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1376}
1377
1378void MetaCache::ClearCache() {
1379 VLOG(3) << "Clearing cache";
1380 std::lock_guard l(lock_);
1381 ts_cache_.clear();
1382 tablets_by_id_.clear();
1383 tablets_by_table_and_key_.clear();
1384 entry_by_tablet_id_.clear();
1385}
1386
1387Status MetaCache::GetTableKeyRanges(const KuduTable* table,
1388 const PartitionKey& partition_key,

Callers 2

TEST_FFunction · 0.80
AlterMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by 1

TEST_FFunction · 0.64