Skip to content

Commit dc0ac0a

Browse files
authored
KIKIMR-19521 BTreeIndex Bugfix index size (#671)
1 parent ecc3d94 commit dc0ac0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/tablet_flat/flat_part_loader.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ TAutoPtr<NPageCollection::TFetch> TLoader::StageCreatePartView() noexcept
184184
// TODO: put index size to stat?
185185
// TODO: include history indexes bytes
186186
size_t indexesRawSize = 0;
187-
if (AppData()->FeatureFlags.GetEnableLocalDBBtreeIndex()) {
187+
if (BTreeGroupIndexes) {
188188
for (const auto &meta : BTreeGroupIndexes) {
189189
indexesRawSize += meta.IndexSize;
190190
}

0 commit comments

Comments
 (0)