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
2 changes: 1 addition & 1 deletion ydb/core/mind/bscontroller/cmds_box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ namespace NKikimr::NBsController {
for (const auto& [id, slot] : pdisk->VSlotsOnPDisk) {
if (slot->Group) {
auto *m = VSlots.FindForUpdate(slot->VSlotId);
m->Status = NKikimrBlobStorage::EVDiskStatus::INIT_PENDING;
m->Status = NKikimrBlobStorage::EVDiskStatus::ERROR;
m->IsReady = false;
TGroupInfo *group = Groups.FindForUpdate(slot->Group->ID);
GroupFailureModelChanged.insert(slot->Group->ID);
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 @@ -692,7 +692,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 @@ -738,7 +738,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