We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85e2185 + 54d4fd6 commit c6c0670Copy full SHA for c6c0670
ydb/core/blobstorage/vdisk/hullop/blobstorage_hull.cpp
@@ -413,6 +413,13 @@ namespace NKikimr {
413
if (!CheckGC(ctx, record))
414
return {NKikimrProto::ERROR, 0, false}; // record has duplicates
415
416
+ if (!collect && !record.KeepSize() && !record.DoNotKeepSize()) {
417
+ LOG_ERROR_S(ctx, NKikimrServices::BS_HULLRECS, HullDs->HullCtx->VCtx->VDiskLogPrefix
418
+ << "Db# Barriers ValidateGCCmd: empty garbage collection command"
419
+ << " TabletId# " << tabletID);
420
+ return {NKikimrProto::ERROR, "empty garbage collection command"};
421
+ }
422
+
423
auto blockStatus = THullDbRecovery::IsBlocked(record);
424
switch (blockStatus.Status) {
425
case TBlocksCache::EStatus::OK:
0 commit comments