Skip to content

Commit

Permalink
KIKIMR-19521 BTreeIndex Bugfix index size (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunga authored Dec 22, 2023
1 parent ecc3d94 commit dc0ac0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/tablet_flat/flat_part_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit dc0ac0a

Please sign in to comment.