Skip to content

Commit

Permalink
Fix build problem KIKIMR-9016
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvru committed Dec 12, 2023
1 parent 02c8029 commit 9a2e090
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ydb/core/blobstorage/dsproxy/dsproxy_strategy_restore.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class TRestoreStrategy : public TStrategyBase {
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];
Expand All @@ -35,8 +34,6 @@ class TRestoreStrategy : public TStrategyBase {
}
}
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()
Expand All @@ -48,8 +45,6 @@ class TRestoreStrategy : public TStrategyBase {
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);
Expand All @@ -59,8 +54,6 @@ class TRestoreStrategy : public TStrategyBase {
break;
}
}

unknownDisks += isUnknownDisk;
}
}

Expand Down

0 comments on commit 9a2e090

Please sign in to comment.