Skip to content

Commit

Permalink
relax repair logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitenjain14 committed Jun 9, 2024
1 parent bffaa2c commit 5ea03ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zboxcore/sdk/rollback.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func (a *Allocation) CheckAllocStatus() (AllocStatus, []BlobberStatus, error) {

req := a.DataShards

if len(versionMap[latestVersion]) > req {
if len(versionMap[latestVersion]) > req || len(versionMap[prevVersion]) > req {
return Commit, blobberRes, nil
}

Expand Down

0 comments on commit 5ea03ec

Please sign in to comment.