Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ydb/core/blobstorage/dsproxy/dsproxy_put.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,11 @@ class TBlobStorageGroupPutRequest : public TBlobStorageGroupRequestActor<TBlobSt

if (record.HasIncarnationGuid()) {
HandleIncarnation(issue, orderNumber, record.GetIncarnationGuid());
} else if (record.GetStatus() != NKikimrProto::OK) { // we can't obtain status from the vdisk; assume it has not been written
Y_ABORT_UNLESS(orderNumber < IncarnationRecords.size());
IncarnationRecords[orderNumber] = {};
PutImpl.InvalidatePartStates(orderNumber);
++*Mon->NodeMon->IncarnationChanges;
}

Action();
Expand Down
4 changes: 2 additions & 2 deletions ydb/core/mind/bscontroller/cmds_storage_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ namespace NKikimr::NBsController {

TGroupInfo *group = Groups.FindForUpdate(vslot->GroupId);
vslot->Mood = TMood::Wipe;
vslot->Status = NKikimrBlobStorage::EVDiskStatus::INIT_PENDING;
vslot->Status = NKikimrBlobStorage::EVDiskStatus::ERROR;
vslot->IsReady = false;
GroupFailureModelChanged.insert(group->ID);
group->CalculateGroupStatus();
Expand Down Expand Up @@ -750,7 +750,7 @@ namespace NKikimr::NBsController {

TGroupInfo *group = Groups.FindForUpdate(vslot->GroupId);
vslot->Mood = targetMood;
vslot->Status = NKikimrBlobStorage::EVDiskStatus::INIT_PENDING;
vslot->Status = NKikimrBlobStorage::EVDiskStatus::ERROR;
vslot->IsReady = false;
GroupFailureModelChanged.insert(group->ID);
group->CalculateGroupStatus();
Expand Down
2 changes: 1 addition & 1 deletion ydb/core/mind/bscontroller/impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class TBlobStorageController : public TActor<TBlobStorageController>, public TTa
TVSlotReadyTimestampQ::iterator VSlotReadyTimestampIter;

public:
NKikimrBlobStorage::EVDiskStatus Status = NKikimrBlobStorage::EVDiskStatus::INIT_PENDING;
NKikimrBlobStorage::EVDiskStatus Status = NKikimrBlobStorage::EVDiskStatus::ERROR;
bool IsReady = false;
bool OnlyPhantomsRemain = false;

Expand Down