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

cloud: feat(schema): do schema versioning and make backup non-blocking for i… #7856

Merged
merged 2 commits into from
May 26, 2021

Conversation

NamanJain8
Copy link
Contributor

@NamanJain8 NamanJain8 commented May 26, 2021

…ndexing (#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)


This change is Reviewable

…ndexing (#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)
@github-actions github-actions bot added area/schema Issues related to the schema language and capabilities. area/testing Testing related issues labels May 26, 2021
@NamanJain8 NamanJain8 merged commit eb0a04b into release/v21.03-slash May 26, 2021
@NamanJain8 NamanJain8 deleted the naman/cloud/indexin-nonblocking branch May 26, 2021 14:24
NamanJain8 added a commit that referenced this pull request 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)
NamanJain8 added a commit that referenced this pull request 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)
NamanJain8 added a commit that referenced this pull request Jun 1, 2021
#7856) (#7873)

* 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)
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.

2 participants