Skip to content

Commit f1fa2ce

Browse files
fix build
1 parent 31ab427 commit f1fa2ce

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ydb/core/tx/columnshard/engines/ut/ut_logs_engine.cpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ class TTestDbWrapper : public IDbWrapper {
9797
Y_ABORT_UNLESS(portion.GetPathId() == it->second.GetPathId() && portion.GetPortion() == it->second.GetPortion());
9898
}
9999
it->second.SetMinSnapshot(portion.GetMinSnapshot());
100-
it->second.SetRemoveSnapshot(portion.GetRemoveSnapshot());
100+
if (portion.HasRemoveSnapshot()) {
101+
it->second.SetRemoveSnapshot(portion.GetRemoveSnapshotVerified());
102+
} else {
103+
AFL_VERIFY(!it->second.HasRemoveSnapshot());
104+
}
101105

102106
bool replaced = false;
103107
for (auto& rec : it->second.Records) {

0 commit comments

Comments
 (0)