Make local server metadata writes atomic and concurrency-safe - #554
Conversation
|
Carry-over review from PR #516 (old PR for #472). This PR is the right vehicle (roughly 1/3 the size of #516, cleaner primitives —
CI note: |
bdcaf1e to
d3a3d1d
Compare
d3a3d1d to
f8ba2c2
Compare
f8ba2c2 to
37dcaac
Compare
eeb03fe to
828af2f
Compare
cbf640b to
fcd1797
Compare
fcd1797 to
299267c
Compare
6e2cc60 to
e9a1758
Compare
e9a1758 to
8fe5a8d
Compare
8fe5a8d to
aaaed8f
Compare
d856048 to
406f0e9
Compare
b50cc18 to
42e1f05
Compare
42e1f05 to
33241ad
Compare
33241ad to
b371825
Compare
b371825 to
b95e31e
Compare
b95e31e to
33df2b3
Compare
542759a to
8b57d4d
Compare
1345acf to
0fd2a58
Compare
0fd2a58 to
e84dd8f
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e84dd8f. Configure here.
e84dd8f to
5fedd15
Compare

Summary
.jsonentriesTests
cargo test -p clickhousectl -- --test-threads=1cargo test -p clickhousectl --test local_postgres_readiness_test --test local_server_metadata_test -- --test-threads=1cargo build -p clickhousectlcargo clippy -p clickhousectl --all-targets -- -D warningscargo fmt --all -- --checkscripts/test-postgres-integration.sh(13 passed;orphan_recoveryanddotenv_password_consistencyretain the documented pre-existing base-branch failures)Closes #472