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

rfc: ALTER COLUMN TYPE TableAction plan #26787

Merged
merged 1 commit into from
Jun 18, 2018
Merged

rfc: ALTER COLUMN TYPE TableAction plan #26787

merged 1 commit into from
Jun 18, 2018

Conversation

bobvawter
Copy link
Contributor

FYI: I was doing this as a separate document, but since it's motivated by ALTER_COLUMN_TYPE, it seems like it belongs in this doc. The TL;DR is that TableMutations is doing two jobs and doesn't have enough specificity to effectively handle multi-step schema changes.

Update the ALTER COLUMN TYPE RFC with a proposed plan for migrating state
management from TableDescriptor.Mutations into a new TableActions
collection.

Release note: None

@bobvawter bobvawter requested a review from a team as a code owner June 18, 2018 14:36
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Attempting to make a mixed-version cluster operate with and without
`TableAction`-aware nodes would be exceeding complicated, so for the
purposes of implementing this RFC, we will maintain the existing code
path in parallel with the proposed changes.
Copy link
Contributor

Choose a reason for hiding this comment

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

ALTER COLUMN TYPE will be implemented only through the new TableAction code path.

Update the `ALTER COLUMN TYPE` RFC with a proposed plan for migrating state
management from `TableDescriptor.Mutations` into a new `TableActions`
collection.

Release note: None
@bobvawter
Copy link
Contributor Author

bors r+

craig bot pushed a commit that referenced this pull request Jun 18, 2018
26787: rfc: ALTER COLUMN TYPE TableAction plan r=bobvawter a=bobvawter

FYI: I was doing this as a separate document, but since it's motivated by `ALTER_COLUMN_TYPE`, it seems like it belongs in this doc.  The TL;DR is that `TableMutations` is doing two jobs and doesn't have enough specificity to effectively handle multi-step schema changes.

Update the `ALTER COLUMN TYPE` RFC with a proposed plan for migrating state
management from `TableDescriptor.Mutations` into a new `TableActions`
collection.

Release note: None

26807: roachtest: fix store dump version r=nvanbenschoten a=nvanbenschoten

This store dump version was accidentally broken in #25541.

Release note: None

Co-authored-by: Bob Vawter <[email protected]>
Co-authored-by: Nathan VanBenschoten <[email protected]>
@craig
Copy link
Contributor

craig bot commented Jun 18, 2018

Build succeeded

@craig craig bot merged commit b321141 into cockroachdb:master Jun 18, 2018
@bobvawter bobvawter deleted the stage-plan branch December 10, 2018 15:02
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.

4 participants