Skip to content

Commit ec63582

Browse files
committed
renaming
1 parent dd139ea commit ec63582

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

cloud/blockstore/libs/storage/partition/part_actor_deleteobsoleteunconfirmedblobs.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
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>

cloud/blockstore/libs/storage/partition/part_actor_writeblocks.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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,

cloud/blockstore/libs/storage/partition/part_state.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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());

cloud/blockstore/libs/storage/partition/part_state.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

cloud/blockstore/libs/storage/protos/part.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
////////////////////////////////////////////////////////////////////////////////

cloud/blockstore/public/api/protos/volume.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)