File tree Expand file tree Collapse file tree 6 files changed +7
-8
lines changed
Expand file tree Collapse file tree 6 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 44#include < cloud/blockstore/libs/service/request_helpers.h>
55#include < cloud/blockstore/libs/storage/core/public.h>
66
7- #include < cloud/storage/core/libs/common/alloc.h>
87#include < cloud/storage/core/libs/tablet/blob_id.h>
98
109#include < contrib/ydb/library/actors/core/actor_bootstrapped.h>
Original file line number Diff line number Diff line change @@ -353,12 +353,12 @@ void TPartitionActor::HandleWriteBlocksCompleted(
353353 // (for this commit) later
354354 State->BlobsConfirmed (commitId, std::move (msg->BlobsToConfirm ));
355355 } else {
356- // blobs are stalled , so they need to be deleted
357- State->BlobsStalled (commitId, std::move (msg->BlobsToConfirm ));
356+ // blobs are obsolete , so they need to be deleted
357+ State->BlobsObsoleted (commitId, std::move (msg->BlobsToConfirm ));
358358 }
359359 Y_DEBUG_ABORT_UNLESS (msg->CollectGarbageBarrierAcquired );
360360 // commit & garbage queue barriers will be released when confirmed
361- // blobs are added or when stalled blobs are deleted
361+ // blobs are added or when obsolete blobs are deleted
362362 } else {
363363 LOG_TRACE (
364364 ctx,
Original file line number Diff line number Diff line change @@ -760,7 +760,7 @@ void TPartitionState::BlobsConfirmed(
760760 UnconfirmedBlobCount -= blobCount;
761761}
762762
763- void TPartitionState::BlobsStalled (ui64 commitId, TVector<TBlobToConfirm> blobs)
763+ void TPartitionState::BlobsObsoleted (ui64 commitId, TVector<TBlobToConfirm> blobs)
764764{
765765 auto it = UnconfirmedBlobs.find (commitId);
766766 Y_DEBUG_ABORT_UNLESS (it != UnconfirmedBlobs.end ());
Original file line number Diff line number Diff line change @@ -1394,7 +1394,7 @@ class TPartitionState
13941394
13951395 void BlobsConfirmed (ui64 commitId, TVector<TBlobToConfirm> blobs);
13961396
1397- void BlobsStalled (ui64 commitId, TVector<TBlobToConfirm> blobs);
1397+ void BlobsObsoleted (ui64 commitId, TVector<TBlobToConfirm> blobs);
13981398
13991399 //
14001400 // WriteBlob
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ message TPartitionStats
127127
128128 uint32 UnconfirmedBlobCount = 22 ;
129129 uint32 ConfirmedBlobCount = 23 ;
130- uint32 StalledUnconfirmedBlobCount = 24 ;
130+ uint32 ObsoleteUnconfirmedBlobCount = 24 ;
131131}
132132
133133////////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ message TVolumeStats
404404 // Current trim fresh log as commit id
405405 uint64 TrimFreshLogToCommitId = 29 ;
406406
407- uint32 StalledUnconfirmedBlobCount = 30 ;
407+ uint32 ObsoleteUnconfirmedBlobCount = 30 ;
408408}
409409
410410////////////////////////////////////////////////////////////////////////////////
You can’t perform that action at this time.
0 commit comments