Repository navigation
Keep the cache-write check of 02963_remote_read_small_buffer_size_bug off parallel replicas - #125092
Conversation
… off parallel replicas The test reads the filesystem-cache write shape of one SELECT from its own system.query_log row. In the ParallelReplicas lanes the coordinator can give the only segment of the read to a remote replica, whose query_log row has a different query_id. The data writes then land on that row (6 writes, 2465383 bytes, 410897 bytes per write), and the initiator row only holds one 4338-byte write, so the check fails although the buffer sizing is fine. Pin enable_parallel_replicas = 0 on the measured SELECT, next to the existing force_read_through_distributed_cache = 0 pin that exists for the same reason. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 0 findings) plus my own cold review (1 nit).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-8:20261010-180300 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-5:20261010-171900 |
|
Workflow [PR], commit [2e5e359] Summary: ✅ AI ReviewSummaryThis PR pins Final Verdict✅ No findings. The change looks correct and merge-ready. |
Related: #124911
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
02963_remote_read_small_buffer_size_bugfailed twice inStateless tests (arm_binary, ParallelReplicas, s3 storage, parallel)on unrelated PRs: #124879, #118380. Both printedwrite_block_size = 4338.The test reads the filesystem-cache write shape of one SELECT from its own
query_logrow. In that lane the coordinator sometimes gives the read's only segment to a remote replica on the same server. The data writes then land on that replica's row (anotherquery_id): in both failing jobs it holds 6 writes / 2465383 bytes, 410897 bytes per write, so the buffer sizing is fine. The initiator row only holds one 4338-byte write, which fails the check.The change pins
enable_parallel_replicas = 0on the measured SELECT, next to the existingforce_read_through_distributed_cache = 0pin that is there for the same reason, as #124911 did for the string filter tests. No reference change.Validation on a local
ParallelReplicasrig with an S3 disk, same binary, with a failpoint that delays the local replica: unmodified 20/20 fail with the CI row (4338), fixed 20/20 and 50/50 pass with all writes on the initiator row and no secondary rows; removing only the pin fails 20/20 again. Without the failpoint, unmodified and fixed pass 30/30; fixed also passes 20/20 without parallel replicas.Workflow [PR]
Sync PR [sync-upstream/pr/125092]
Version info
26.10.1.2087-master(included in26.10and later)