Skip to content

Meta from disk fixes#87358

Merged
Michicosun merged 11 commits intomasterfrom
meta_from_disk_fixes
Sep 23, 2025
Merged

Meta from disk fixes#87358
Michicosun merged 11 commits intomasterfrom
meta_from_disk_fixes

Conversation

@Michicosun
Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

This patch fixes rollbacks of unlink/rename/removeRecursive/removeDirectory/etc operations and also hardlink counts in any possible workloads for metadata from disk transactions, and simplifies the interfaces to make them more generic so that they can be reused in other meta stores.

@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Sep 19, 2025

Workflow [PR], commit [cf6a9ee]

Summary:

job_name test_name status info comment
Stress test (amd_msan) failure
Server died FAIL
Hung check failed, possible deadlock found (see hung_check.log) FAIL
Killed by signal (in clickhouse-server.log) FAIL
Fatal message in clickhouse-server.log (see fatal_messages.txt) FAIL
Killed by signal (output files) FAIL
Found signal in gdb.log FAIL

@clickhouse-gh clickhouse-gh bot added the pr-improvement Pull request with some product improvements label Sep 19, 2025
@CheSema CheSema self-assigned this Sep 22, 2025
{
return fs::path(dir) / getRandomASCIIString(32);

std::optional<DiskObjectStorageMetadata> tryReadMetadataFile(const std::string & compatible_key_prefix, const std::string & path, const IDisk & disk)
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.

I do not like that we use here compatible_key_prefix.
We could remove this later after #87335

@Michicosun
Copy link
Copy Markdown
Member Author

CI unrelated - for some reason, mt transactions were enabled with a plain rewritable disk

@Michicosun Michicosun added this pull request to the merge queue Sep 23, 2025
Merged via the queue into master with commit 41603a7 Sep 23, 2025
121 of 123 checks passed
@Michicosun Michicosun deleted the meta_from_disk_fixes branch September 23, 2025 19:03
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-improvement Pull request with some product improvements pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants