Skip to content

Commit 9e4a92a

Browse files
va-kuznecovVlad Kuznecov
andauthored
Disable level triggered compaction in donor VDisks (#8376)
Co-authored-by: Vlad Kuznecov <va-kuznecov@nebius.com>
1 parent 7a742cd commit 9e4a92a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ydb/core/blobstorage/vdisk/hullop/blobstorage_hullactor.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,10 @@ namespace NKikimr {
187187
// returns true, if selector has been started, false otherwise
188188
bool RunLevelCompactionSelector(const TActorContext &ctx) {
189189
// if compaction is in progress, return
190-
if (RTCtx->LevelIndex->GetCompState() != TLevelIndexBase::StateNoComp || !Config->LevelCompaction) {
190+
if (RTCtx->LevelIndex->GetCompState() != TLevelIndexBase::StateNoComp
191+
|| !Config->LevelCompaction
192+
|| Config->BaseInfo.DonorMode) {
193+
191194
return false;
192195
}
193196

0 commit comments

Comments
 (0)