Skip to content

sql: clean up physical planning for system tenant#87149

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
yuzefovich:physical-planning-cleanup
Aug 31, 2022
Merged

sql: clean up physical planning for system tenant#87149
craig[bot] merged 1 commit intocockroachdb:masterfrom
yuzefovich:physical-planning-cleanup

Conversation

@yuzefovich
Copy link
Copy Markdown
Member

This commit audits a couple of methods around the health and version of
DistSQL nodes that are used only for the system tenant to make that more
explicit. Additionally, it unexports NodeStatuses map from the
planning context as well as removes some unnecessary short-circuiting
behavior around checking the node health and version (it was unnecessary
because we already short-circuit in
checkInstanceHealthAndVersionSystem).

Release justification: low-risk cleanup.

Release note: None

This commit audits a couple of methods around the health and version of
DistSQL nodes that are used only for the system tenant to make that more
explicit. Additionally, it unexports `NodeStatuses` map from the
planning context as well as removes some unnecessary short-circuiting
behavior around checking the node health and version (it was unnecessary
because we already short-circuit in
`checkInstanceHealthAndVersionSystem`).

Release justification: low-risk cleanup.

Release note: None
@yuzefovich yuzefovich requested review from a team, cucaroach and msirek August 30, 2022 21:15
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@msirek msirek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @cucaroach)

@yuzefovich
Copy link
Copy Markdown
Member Author

TFTR!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 31, 2022

Build succeeded:

@craig craig bot merged commit 0bcbece into cockroachdb:master Aug 31, 2022
@yuzefovich yuzefovich deleted the physical-planning-cleanup branch August 31, 2022 18:21
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.

3 participants