diff options
author | yuryalekseev <yuryalekseev@yandex-team.com> | 2023-02-14 16:56:23 +0300 |
---|---|---|
committer | yuryalekseev <yuryalekseev@yandex-team.com> | 2023-02-14 16:56:23 +0300 |
commit | f4cb98ca7bfdaa3f9fafe8f903b0eaf951641edc (patch) | |
tree | ac1c523f9adeb75383c311611366c7fee067c684 | |
parent | 4cb5e6b92c1cfdeb4ba2faf025885821c2005cfc (diff) | |
download | ydb-f4cb98ca7bfdaa3f9fafe8f903b0eaf951641edc.tar.gz |
Unset PDiskType and BoxId on TRemoveDriveSerial.
-rw-r--r-- | ydb/core/mind/bscontroller/cmds_drive_status.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ydb/core/mind/bscontroller/cmds_drive_status.cpp b/ydb/core/mind/bscontroller/cmds_drive_status.cpp index 0762acbc455..cc35357f911 100644 --- a/ydb/core/mind/bscontroller/cmds_drive_status.cpp +++ b/ydb/core/mind/bscontroller/cmds_drive_status.cpp @@ -183,6 +183,8 @@ namespace NKikimr::NBsController { driveInfoMutable->PDiskId.Clear(); driveInfoMutable->LifeStage = NKikimrBlobStorage::TDriveLifeStage::REMOVED_FROM_BSC; driveInfoMutable->Path.Clear(); + driveInfoMutable->PDiskType = NKikimrBlobStorage::UNKNOWN_TYPE; + driveInfoMutable->BoxId = 0; Fit.Boxes.insert(driveInfo->BoxId); |