aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkungurtsev <kungasc@ydb.tech>2023-12-22 14:01:52 +0100
committerGitHub <noreply@github.com>2023-12-22 16:01:52 +0300
commitdc0ac0a80bcd1ab879b04dd18e2eeb7fbb45e4b5 (patch)
treec7dfe273b94503f3df51ad3c64135760a6855808
parentecc3d949d899594ac30c3d99ba30d6e7e264e751 (diff)
downloadydb-dc0ac0a80bcd1ab879b04dd18e2eeb7fbb45e4b5.tar.gz
KIKIMR-19521 BTreeIndex Bugfix index size (#671)
-rw-r--r--ydb/core/tablet_flat/flat_part_loader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/tablet_flat/flat_part_loader.cpp b/ydb/core/tablet_flat/flat_part_loader.cpp
index f3afe7d360..fcf6820fde 100644
--- a/ydb/core/tablet_flat/flat_part_loader.cpp
+++ b/ydb/core/tablet_flat/flat_part_loader.cpp
@@ -184,7 +184,7 @@ TAutoPtr<NPageCollection::TFetch> TLoader::StageCreatePartView() noexcept
// TODO: put index size to stat?
// TODO: include history indexes bytes
size_t indexesRawSize = 0;
- if (AppData()->FeatureFlags.GetEnableLocalDBBtreeIndex()) {
+ if (BTreeGroupIndexes) {
for (const auto &meta : BTreeGroupIndexes) {
indexesRawSize += meta.IndexSize;
}