Repository navigation
Add Keeper ListWithOptions support - #117521
Conversation
|
Workflow [PR], commit [68a4ed3] Summary: ✅
LLVM Coverage ReportMeasured on commit 68a4ed3.
Changed lines: Changed C/C++ lines covered: 352/561 (62.75%) · Uncovered code |
Remove virtual-method default arguments to satisfy clang-tidy. Use the outer multi-read XID and subrequest index for shuffled `ListWithOptions` ranks. CI: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=117521&sha=latest&name_0=PR check failure PR: #117521
026a3bb to
4c03a4e
Compare
Remove virtual-method default arguments to satisfy clang-tidy. Use the outer multi-read XID and subrequest index for shuffled `ListWithOptions` ranks. CI: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=117521&sha=latest&name_0=PR check failure PR: #117521
Fix clang-tidy compliance, multi-read shuffled ordering, and `TestKeeper` truncation reporting. Optimize names-only direct reads, add ACL coverage, and update the Keeper feature-flags reference. CI: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=117521&sha=latest&name_0=PR check failure CI: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=117521&sha=4c03a4e19bfa2fddac643bfe79937acb9a0a1de3&name_0=PR&name_1=Stateless%20tests%20%28arm_asan_ubsan%2C%20targeted%29 PR: #117521
4c03a4e to
9f26dfe
Compare
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Object file sizes31 object files changed (+210.52 KiB total), 0 added.
716 more object files are built by the master warmup baseline only (it builds every object-file target, a pull request build only Compile time of recompiled translation units553 translation units recompiled, 4440 s compile time in total, 553 of them have a recent master baseline. |
Classify `ListWithOptions` as thread-safe in `processLocalRequests` so it uses the parallel read phase. Review: #117521 (comment) PR: #117521
# Conflicts: # programs/keeper-bench/Runner.cpp
Use a random shuffle for complete results and a prefix-only shuffle when `max_results` limits a known candidate set.
Factor full and prefix-only shuffle selection behind `shuffle_with_limit` and test it with a seeded RNG.
Add scoped traces and verify that shuffled results change order across repeated requests.
PR ClickHouse#117521 added the ListWithOptions op to Keeper. The forEachRequestPath switch in the orphan-cleanup verifier was missing a case for it, causing -Werror,-Wswitch build failures when merged with current master. ListWithOptions supports both direct and recursive listing via its options, so the kind is determined dynamically: Subtree when options.recursive is set, NodeAndChildren otherwise.
Adds the Keeper
ListWithOptionsoperation for direct and recursive listing with filtering, optional stats and data, limits, and deterministic request-scoped shuffled ordering.The feature is enabled by default.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Add the Keeper
ListWithOptionsoperation for filtered direct or recursive listing with optional stats, data, limits, and shuffled results.Workflow [PR]
Sync PR [sync-upstream/pr/117521]
Version info
26.10.1.872-master(included in26.10and later)