25.8.16 Backport of #95597 - Fix zero‑copy unlock check before part dir move - #1738
Conversation
zvonand
left a comment
There was a problem hiding this comment.
this PR needs to be rebased onto stable-25.8 branch
…ession_after_94262 Fix zero‑copy unlock check before part dir move
d07a598 to
ccca4b9
Compare
|
@zvonand done |
|
AI audit note: This review comment was generated by AI (claude-sonnet-4-6). Audit for PR #1738 (backport ClickHouse#95597 — fix zero-copy unlock check before part dir move): Call graph
Root-cause analysis of the regression (verified)
Correctness of the fix (verified)Moving
Interleaving analysisCritical window between ZK unlock (inside Confirmed defectsNone introduced by this fix. Pre-existing issue (not introduced by this PR, not blocking merge)Low: ZK replica-lock orphan when
|
PR #1738 CI TriageSummary
Verdict: CI verified. No regressions attributable to PR #1738. Safe as merged. Infrastructure failures (9 Regression jobs)All Regression jobs failed identically with: Failing jobs:
Evidence this is infra, not the PR:
Pre-existing flaky upstream testsQueried from
The last two Stateless jobs appear GREEN on GitHub because they passed on rerun; the DB captured the earlier fail. None of these tests touch zero-copy replication, part moves, or ReplicatedMergeTree — the areas modified by this backport (upstream ClickHouse#95597, fixing a regression from #94262). RecommendationThe |
Fix zero‑copy unlock check before part dir move
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix regression in (experimental) zero‑copy replication introduced by ClickHouse#94262 where shared parts could be deleted before other replicas finished fetching them (ClickHouse#95597 by @filimonov).
Documentation entry for user-facing changes
...
CI/CD Options
Exclude tests:
Regression jobs to run: