diff options
author | alexvru <alexvru@ydb.tech> | 2023-12-12 19:44:12 +0300 |
---|---|---|
committer | alexvru <alexvru@ydb.tech> | 2023-12-12 20:45:32 +0300 |
commit | 9a2e0902aee9c0fc5db455543f4374709a7198e2 (patch) | |
tree | d7edff364947673d83bc21bd89b5398e6385927e | |
parent | 02c80295d4de8d4b72a9d36eb8195e1b3ef11890 (diff) | |
download | ydb-9a2e0902aee9c0fc5db455543f4374709a7198e2.tar.gz |
Fix build problem KIKIMR-9016
-rw-r--r-- | ydb/core/blobstorage/dsproxy/dsproxy_strategy_restore.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ydb/core/blobstorage/dsproxy/dsproxy_strategy_restore.h b/ydb/core/blobstorage/dsproxy/dsproxy_strategy_restore.h index 51f9c6bc33..04d4c78f8a 100644 --- a/ydb/core/blobstorage/dsproxy/dsproxy_strategy_restore.h +++ b/ydb/core/blobstorage/dsproxy/dsproxy_strategy_restore.h @@ -15,7 +15,6 @@ public: TBlobStorageGroupInfo::EBlobState *optimisticState) { const ui32 totalPartCount = info.Type.TotalPartCount(); ui32 errorDisks = 0; - ui32 unknownDisks = 0; TSubgroupPartLayout optimisticLayout; for (ui32 diskIdx = 0; diskIdx < state.Disks.size(); ++diskIdx) { TBlobState::TDisk &disk = state.Disks[diskIdx]; @@ -35,8 +34,6 @@ public: } } if (!isErrorDisk) { - bool isUnknownDisk = true; - for (ui32 partIdx = beginPartIdx; partIdx < endPartIdx; ++partIdx) { const TBlobState::ESituation partSituation = disk.DiskParts[partIdx].Situation; R_LOG_DEBUG_SX(logCtx, "BPG51", "Id# " << state.Id.ToString() @@ -48,8 +45,6 @@ public: case TBlobState::ESituation::Absent: case TBlobState::ESituation::Lost: case TBlobState::ESituation::Present: - isUnknownDisk = false; - [[fallthrough]]; case TBlobState::ESituation::Unknown: case TBlobState::ESituation::Sent: optimisticLayout.AddItem(diskIdx, partIdx, info.Type); @@ -59,8 +54,6 @@ public: break; } } - - unknownDisks += isUnknownDisk; } } |