Skip to content

fix(storage): prioritize semantic coverage queue chains#441

Merged
fewensa merged 1 commit into
mainfrom
fix-v2-compaction-semantic-chain-priority
Jul 8, 2026
Merged

fix(storage): prioritize semantic coverage queue chains#441
fewensa merged 1 commit into
mainfrom
fix-v2-compaction-semantic-chain-priority

Conversation

@fewensa

@fewensa fewensa commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • include semantic coverage-index-v2 queue size in compaction chain priority hints
  • sort queued chains by semantic queue first, then total queue, while keeping rotating slots
  • add regression coverage for semantic queue priority

Verification

  • cargo fmt -p datalens-cli --check
  • CARGO_TARGET_DIR=/code/helixbox/datalens/target CARGO_INCREMENTAL=0 cargo test -p datalens-cli storage_compaction_chain_batch -- --nocapture
  • CARGO_TARGET_DIR=/code/helixbox/datalens/target CARGO_INCREMENTAL=0 cargo clippy -p datalens-cli --lib --tests -- -D warnings
  • git diff --check

@fewensa
fewensa merged commit 91892e9 into main Jul 8, 2026
1 check passed
@fewensa
fewensa deleted the fix-v2-compaction-semantic-chain-priority branch July 8, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant