Skip to content

ui: make upgrade error message encompass more tables#98312

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
xinhaoz:expand-upgrade-errs
Mar 9, 2023
Merged

ui: make upgrade error message encompass more tables#98312
craig[bot] merged 1 commit intocockroachdb:masterfrom
xinhaoz:expand-upgrade-errs

Conversation

@xinhaoz
Copy link
Copy Markdown
Contributor

@xinhaoz xinhaoz commented Mar 9, 2023

Previously, we only show the upgrade error message when querying using the sql api in the cases where the server error message says either a column does not exist or the specific table crdb_internal.txn_cluster_insights. This commit expands that to any table.

Epic: none

Release note (ui change): users will see the upgrade error message when a response from the sql api says that a relation or column does not exist

Previously, we only show the upgrade error message
when querying using the sql api in the cases where the
server error message says either a column does not exist
or the specific table `crdb_internal.txn_cluster_insights`.
This commit expands that to any table.

Epic: none

Release note (ui change): users will see the upgrade
error message when a response from the sql api says
that a relation or column does not exist
@xinhaoz xinhaoz requested review from a team March 9, 2023 16:53
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@maryliag maryliag 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 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @xinhaoz)

@xinhaoz
Copy link
Copy Markdown
Contributor Author

xinhaoz commented Mar 9, 2023

TFTR!
bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 9, 2023

This PR was included in a batch that was canceled, it will be automatically retried

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 9, 2023

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 9, 2023

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 9, 2023

Build succeeded:

@craig craig bot merged commit 25ecce9 into cockroachdb:master Mar 9, 2023
@xinhaoz xinhaoz deleted the expand-upgrade-errs branch June 5, 2023 17:03
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