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

cli: enforce inclusion of new crdb_internal tables in debug zip #36281

Merged
merged 1 commit into from
Mar 28, 2019

Conversation

tbg
Copy link
Member

@tbg tbg commented Mar 28, 2019

This is achieved via a unit test. I went through all of the missing
tables and made judgement calls on whether they needed to be included.

This resulted in the inclusion of some obvious earlier omissions.

I also went through the crdb_internal tables and added a naming
convention and tried to add TODOs to all tables violating it.
It's a bad idea to rename any of these; we should probably alias
them to their desired name and leave the old name valid, somehow
without listing it in SHOW TABLES FROM crdb_internal.

Release note (bug fix): Data that was previously omitted from debug zip is now included.

@tbg tbg requested a review from a team as a code owner March 28, 2019 17:10
@tbg tbg requested review from a team March 28, 2019 17:10
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg tbg requested a review from bdarnell March 28, 2019 17:10
@andreimatei
Copy link
Contributor

LGTM

This is achieved via a unit test. I went through all of the missing
tables and made judgement calls on whether they needed to be included.

This resulted in the inclusion of some obvious earlier omissions.

I also went through the crdb_internal tables and added a naming
convention and tried to add TODOs to all methods violating it.
It's a bad idea to rename any of these; we should probably alias
them to their desired name and leave the old name valid, somehow
without listing it in `SHOW TABLES FROM crdb_internal`.

Release note (bug fix): Data that was previously omitted from `debug
zip` is now included.
@tbg tbg force-pushed the fix/debug-zip-all-internal-tables branch from b3f39cf to 56d47ca Compare March 28, 2019 21:14
@tbg
Copy link
Member Author

tbg commented Mar 28, 2019

TFTR!

bors r=andreimatei

craig bot pushed a commit that referenced this pull request Mar 28, 2019
36281: cli: enforce inclusion of new crdb_internal tables in debug zip r=andreimatei a=tbg

This is achieved via a unit test. I went through all of the missing
tables and made judgement calls on whether they needed to be included.

This resulted in the inclusion of some obvious earlier omissions.

I also went through the crdb_internal tables and added a naming
convention and tried to add TODOs to all tables violating it.
It's a bad idea to rename any of these; we should probably alias
them to their desired name and leave the old name valid, somehow
without listing it in `SHOW TABLES FROM crdb_internal`.

Release note (bug fix): Data that was previously omitted from `debug
zip` is now included.

Co-authored-by: Tobias Schottdorf <tobias.schottdorf@gmail.com>
@craig
Copy link
Contributor

craig bot commented Mar 28, 2019

Build succeeded

@craig craig bot merged commit 56d47ca into cockroachdb:master Mar 28, 2019
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.

None yet

3 participants