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

[YSQL] Eliminate Catalog Version Mismatch error #7831

Open
m-iancu opened this issue Mar 26, 2021 · 0 comments
Open

[YSQL] Eliminate Catalog Version Mismatch error #7831

m-iancu opened this issue Mar 26, 2021 · 0 comments
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug priority/medium Medium priority issue roadmap-tracking-issue This issue tracks a major roadmap item, and usually appears in the roadmap list.
Milestone

Comments

@m-iancu
Copy link
Contributor

m-iancu commented Mar 26, 2021

Jira Link: DB-2367
Currently, DDL operations always conflict with concurrent DML transactions and can lead to a Catalog Version Mismatch error.
This will be fixed in two stages.

Stage 1

Minimize the error cases by only conflicting when the DDL and the DML transaction affect the same data (tablets).

Status Feature Comments
DROP TABLE #7325
ALTER TABLE ADD/DROP column #7327
Make Catalog Version Mismatch a retryable error #8597
ALTER TABLE other cases #8398

Stage 2

For conflicts (DDL and DML transaction affect same data) wait instead of throwing a "Catalog Version Mismatch" error.

Status Feature Comments
⬜️ DDL operations should wait for conflicting transactions to finish May depend on #5683
@m-iancu m-iancu added the area/ysql Yugabyte SQL (YSQL) label Mar 26, 2021
@m-iancu m-iancu changed the title [YSQL] Minimize Catalog Version Mismatch error [YSQL] Eliminate Minimize Catalog Version Mismatch error Mar 26, 2021
@m-iancu m-iancu added this to the 2.7.x milestone Mar 26, 2021
@m-iancu m-iancu changed the title [YSQL] Eliminate Minimize Catalog Version Mismatch error [YSQL] Eliminate Catalog Version Mismatch error Mar 30, 2021
@rkarthik007 rkarthik007 added the roadmap-tracking-issue This issue tracks a major roadmap item, and usually appears in the roadmap list. label Jul 28, 2021
@m-iancu m-iancu added this to YQL-beta Nov 4, 2021
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug priority/medium Medium priority issue roadmap-tracking-issue This issue tracks a major roadmap item, and usually appears in the roadmap list.
Projects
Status: No status
Development

No branches or pull requests

4 participants