MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / getFileSegmentsNum

Method getFileSegmentsNum

src/Interpreters/FileCache/FileCache.cpp:2244–2248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2242}
2243
2244size_t FileCache::getFileSegmentsNum() const
2245{
2246 /// We use this method for metrics, so it is ok to get approximate result.
2247 return main_priority->getElementsCountApprox();
2248}
2249
2250void FileCache::assertCacheCorrectnessWithProbability()
2251{

Callers 3

updateImplMethod · 0.80
TEST_FFunction · 0.80

Calls 1

Tested by 1

TEST_FFunction · 0.64