diff --git a/ydb/core/tx/columnshard/engines/changes/compaction.cpp b/ydb/core/tx/columnshard/engines/changes/compaction.cpp index 457d55058ab4..b0eb17e90200 100644 --- a/ydb/core/tx/columnshard/engines/changes/compaction.cpp +++ b/ydb/core/tx/columnshard/engines/changes/compaction.cpp @@ -30,7 +30,6 @@ void TCompactColumnEngineChanges::DoCompile(TFinalizationContext& context) { void TCompactColumnEngineChanges::DoStart(NColumnShard::TColumnShard& self) { TBase::DoStart(self); - Y_ABORT_UNLESS(PortionsToRemove.size() + PortionsToMove.size()); THashMap> blobRanges; auto& index = self.GetIndexAs().GetVersionedIndex(); for (const auto& p : SwitchedPortions) { diff --git a/ydb/core/tx/columnshard/engines/changes/with_appended.cpp b/ydb/core/tx/columnshard/engines/changes/with_appended.cpp index cfe48e7f59a0..36178f841d71 100644 --- a/ydb/core/tx/columnshard/engines/changes/with_appended.cpp +++ b/ydb/core/tx/columnshard/engines/changes/with_appended.cpp @@ -133,6 +133,7 @@ void TChangesWithAppend::DoOnAfterCompile() { } void TChangesWithAppend::DoStart(NColumnShard::TColumnShard& /*self*/) { + AFL_VERIFY(PortionsToRemove.size() + PortionsToMove.size()); } } // namespace NKikimr::NOlap