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

2103: feat(schema): do schema versioning and make backup non-blocking… #7873

Merged
merged 1 commit into from
Jun 1, 2021

Conversation

NamanJain8
Copy link
Contributor

@NamanJain8 NamanJain8 commented Jun 1, 2021

… for i… (#7856)

Issue:
We used to write schema/types at timestamp=1. That single bit violates the Snapshot Isolation. Hence, we couldn't run schema updates and other operations like backup concurrently. This is an issue in a multi-tenant cluster because if the backup is running we couldn't update the schema.
Fix:
This PR writes the schema/types at the startTs of the transaction and enables the schema updates to be made even if the backup is running.

(cherry picked from commit f376a40)

  • fix the predicate move

(cherry picked from commit eb0a04b)


This change is Reviewable

@github-actions github-actions bot added area/schema Issues related to the schema language and capabilities. area/testing Testing related issues labels Jun 1, 2021
… for i… (#7856)

* feat(schema): do schema versioning and make backup non-blocking for indexing (#7852)

Issue:
We used to write schema/types at timestamp=1. That single bit violates the Snapshot Isolation. Hence, we couldn't run schema updates and other operations like backup concurrently. This is an issue in a multi-tenant cluster because if the backup is running we couldn't update the schema.
Fix:
This PR writes the schema/types at the startTs of the transaction and enables the schema updates to be made even if the backup is running.

(cherry picked from commit f376a40)

* fix the predicate move

(cherry picked from commit eb0a04b)
Copy link
Contributor

@jarifibrahim jarifibrahim left a comment

Choose a reason for hiding this comment

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

I am assuming this was a clean cherry pick.

@NamanJain8 NamanJain8 merged commit 56a8d9a into release/v21.03 Jun 1, 2021
@NamanJain8 NamanJain8 deleted the naman/2103/indexing branch June 1, 2021 11:30
@rderbier
Copy link
Contributor

rderbier commented Mar 7, 2023

fixes #8531 #8531

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/schema Issues related to the schema language and capabilities. area/testing Testing related issues
Development

Successfully merging this pull request may close these issues.

3 participants