Skip to content

Cleanup unused dirs from store/ on all disks - #39872

Merged
tavplubix merged 6 commits into
masterfrom
store_cleanup_all_disks
Aug 5, 2022
Merged

tavplubix merged 6 commits into
masterfrom
store_cleanup_all_disks

Conversation

@tavplubix

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Follow-up to #38265

@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-not-for-changelog This PR should not be mentioned in the changelog label Aug 3, 2022
@antonio2368 antonio2368 self-assigned this Aug 4, 2022
create->setTable(table_id.table_name);
try
{
table = createTableFromAST(*create, table_id.getDatabaseName(), data_path, getContext(), false).second;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why was this changed?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It's not related to store/ cleanup, but it's better to set force_restore to true here to avoid unnecessary exceptions, because we don't really care about data when we load it just to drop.

@tavplubix

Copy link
Copy Markdown
Member Author

Stateless tests (ubsan) - #39720 (comment)
Stress test (undefined) - #39857

@tavplubix
tavplubix merged commit d9190a8 into master Aug 5, 2022
@tavplubix
tavplubix deleted the store_cleanup_all_disks branch August 5, 2022 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants