Skip to content

Commit

Permalink
fix: cluster prune will destroy pump/drainer directly after scale-in (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
srstack authored Apr 20, 2022
1 parent e5b8861 commit 762dd94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/cluster/operation/destroy.go
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,7 @@ func DestroyClusterTombstone(

if !tombstone {
pumpServers = append(pumpServers, s)
continue
}

nodes = append(nodes, id)
Expand Down Expand Up @@ -629,6 +630,7 @@ func DestroyClusterTombstone(

if !tombstone {
drainerServers = append(drainerServers, s)
continue
}

nodes = append(nodes, id)
Expand Down

0 comments on commit 762dd94

Please sign in to comment.