Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cluster): don't taint servers that have cloud_destroy_ts #839

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions svc/pkg/cluster/worker/src/workers/server_taint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ async fn worker(ctx: &OperationContext<cluster::msg::server_taint::Message>) ->
WHERE
s.datacenter_id = d.datacenter_id
AND s.taint_ts IS NULL
AND s.cloud_destroy_ts IS NULL
AND ($2 IS NULL OR s.server_id = ANY($2))
AND ($3 IS NULL OR d.cluster_id = ANY($3))
AND ($4 IS NULL OR s.datacenter_id = ANY($4))
Expand Down
Loading