summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralexvru <[email protected]>2022-08-16 22:03:09 +0300
committeralexvru <[email protected]>2022-08-16 22:03:09 +0300
commitc31467766a7921632559c362374ef2c7cd09f84c (patch)
treeb81088b71be5d33c64176b9812840a6c33b57568
parent33d3585006743476f5c5df72f192c47d141ea6f7 (diff)
Remove obsolete node report type
-rw-r--r--ydb/core/mind/bscontroller/node_report.cpp14
-rw-r--r--ydb/core/protos/blobstorage.proto3
2 files changed, 1 insertions, 16 deletions
diff --git a/ydb/core/mind/bscontroller/node_report.cpp b/ydb/core/mind/bscontroller/node_report.cpp
index 1cd3fa5a2ce..efb029b7e29 100644
--- a/ydb/core/mind/bscontroller/node_report.cpp
+++ b/ydb/core/mind/bscontroller/node_report.cpp
@@ -25,8 +25,6 @@ public:
State.emplace(*Self, Self->HostRecords, TActivationContext::Now());
State->CheckConsistency();
- std::vector<TVSlotId> droppedDonorVSlotIds;
-
NIceDb::TNiceDb db(txc.DB);
const auto& record = Event->Get()->Record;
@@ -73,18 +71,6 @@ public:
break;
}
break;
-
- case NKikimrBlobStorage::TEvControllerNodeReport::DROP_DONOR:
- for (const auto& [donorVSlotId, donorVDiskId] : slot->Donors) {
- if (donorVDiskId == VDiskIDFromVDiskID(report.GetOtherVDiskId())) {
- if (const TVSlotInfo *vslot = State->VSlots.Find(donorVSlotId); vslot && !vslot->IsBeingDeleted()) {
- Y_VERIFY(vslot->Mood == TMood::Donor);
- State->DestroyVSlot(vslot->VSlotId);
- }
- break;
- }
- }
- break;
}
}
diff --git a/ydb/core/protos/blobstorage.proto b/ydb/core/protos/blobstorage.proto
index ec552aca45e..09e80b0debd 100644
--- a/ydb/core/protos/blobstorage.proto
+++ b/ydb/core/protos/blobstorage.proto
@@ -1328,13 +1328,12 @@ message TEvControllerNodeReport {
WIPED = 2;
DESTROYED = 3;
OPERATION_ERROR = 4;
- DROP_DONOR = 5;
+ reserved 5;
}
message TVDiskReport {
optional NKikimrBlobStorage.TVSlotId VSlotId = 1;
optional NKikimrBlobStorage.TVDiskID VDiskId = 2;
optional EVDiskPhase Phase = 3;
- optional NKikimrBlobStorage.TVDiskID OtherVDiskId = 4;
}
optional uint32 NodeId = 1;