Skip to content

Remove metadata leftovers on drop database#30054

Merged
tavplubix merged 3 commits intomasterfrom
fix_metadata_leftovers
Oct 13, 2021
Merged

Remove metadata leftovers on drop database#30054
tavplubix merged 3 commits intomasterfrom
fix_metadata_leftovers

Conversation

@tavplubix
Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Bug Fix (user-visible misbehaviour in official stable or prestable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Dropped Memory database might reappear after server restart, it's fixed (#29795). Also added force_remove_data_recursively_on_drop setting as a workaround for Directory not empty error when dropping Ordinary database (because it's not possible to remove data leftovers manually in cloud environment).

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Oct 12, 2021
@tavplubix tavplubix force-pushed the fix_metadata_leftovers branch from c145500 to d62d010 Compare October 12, 2021 15:13
@alesapin alesapin self-assigned this Oct 12, 2021
@tavplubix
Copy link
Copy Markdown
Member Author

Functional stateless tests - 01939_network_send_bytes_metrics - known to be flaky, probably related to #28364, cc: @novikd
Integration tests (release) - test_MemoryTracking - known to be flaky (for a long time)

@tavplubix tavplubix merged commit 7742b96 into master Oct 13, 2021
@tavplubix tavplubix deleted the fix_metadata_leftovers branch October 13, 2021 10:34
tavplubix added a commit that referenced this pull request Oct 14, 2021
Backport #30054 to 21.8: Remove metadata leftovers on drop database
tavplubix added a commit that referenced this pull request Oct 14, 2021
Backport #30054 to 21.7: Remove metadata leftovers on drop database
tavplubix added a commit that referenced this pull request Oct 14, 2021
Backport #30054 to 21.10: Remove metadata leftovers on drop database
tavplubix added a commit that referenced this pull request Oct 14, 2021
Backport #30054 to 21.9: Remove metadata leftovers on drop database
taiyang-li pushed a commit to bigo-sg/ClickHouse that referenced this pull request Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants