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

sql: add dropped column to crdb_internal.table_spans. #128788

Merged

Conversation

shubhamdhama
Copy link
Contributor

@shubhamdhama shubhamdhama commented Aug 12, 2024

This addition is useful for listing table spans that are deleted but not yet garbage collected.

Informs: #128578, #128755, #97942
Epic: CRDB-12100

Release note (sql change): This adds a new column to crdb_internal.table_spans to indicate whether a table is dropped. Rows for dropped tables will be removed once they are garbage collected.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@shubhamdhama shubhamdhama force-pushed the table_spans-include-deleted-97942 branch from 572d951 to 37a8715 Compare August 29, 2024 19:58
@shubhamdhama shubhamdhama marked this pull request as ready for review August 29, 2024 19:58
@shubhamdhama shubhamdhama requested a review from a team as a code owner August 29, 2024 19:58
Copy link
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

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

nice work!

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

This addition is useful for listing table spans that are deleted but not
yet garbage collected.

Informs: cockroachdb#128578, cockroachdb#128755
Epic: CRDB-12100

Release note (sql change): This adds a new column to
`crdb_internal.table_spans` to indicate whether a table is dropped. Rows
for dropped tables will be removed once they are garbage collected.
@shubhamdhama shubhamdhama force-pushed the table_spans-include-deleted-97942 branch from 37a8715 to 680ef6d Compare August 30, 2024 16:14
@shubhamdhama
Copy link
Contributor Author

TFTR!

bors r=rafiss

@craig craig bot merged commit e1ec404 into cockroachdb:master Aug 30, 2024
23 checks passed
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