Skip to content

Commit

Permalink
Merge pull request #728 from cybozu-go/fix-repair-queue-status-transi…
Browse files Browse the repository at this point in the history
…tion

Fix not to change status of repair-queue's finished entry
  • Loading branch information
morimoto-cybozu authored Apr 30, 2024
2 parents 6370e2e + a28e697 commit b6cfd26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/strategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,9 @@ func repairOps(c *cke.Cluster, cs *cke.ClusterStatus, constraints *cke.Constrain
ops = append(ops, op.RepairDequeueOp(entry))
continue
}
if entry.HasFinished() {
continue
}
if rqs.RepairCompleted[entry.Address] {
ops = append(ops, op.RepairFinishOp(entry, true))
continue
Expand Down

0 comments on commit b6cfd26

Please sign in to comment.