Skip to content

fix: validate CSV columns when checking node drain status#1153

Open
zhengcharon wants to merge 2 commits into
cockroachdb:masterfrom
zhengcharon:fix-scale-down-reconciliation
Open

fix: validate CSV columns when checking node drain status#1153
zhengcharon wants to merge 2 commits into
cockroachdb:masterfrom
zhengcharon:fix-scale-down-reconciliation

Conversation

@zhengcharon

Copy link
Copy Markdown

Motivation

The node drain status checker relies on CSV column names from the CockroachDB CLI output.
Previously, missing columns could result in incorrect data access because absent columns defaulted to index 0 in the column map.

This change makes the parsing logic more robust.

Related to #1152

@cockroachlabs-cla-agent

cockroachlabs-cla-agent Bot commented Jul 23, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant