bobhan1 opened a new pull request, #71406: URL: https://github.com/apache/doris/pull/71406
### What problem does this PR solve? Backport #70890 to `branch-4.2` from `687ff174476fb49ae722bd5b593e6074daa5c109`. CLucene index compaction borrows `RowIdConversion` source views so eligible compactions can use the existing compression threshold. The adapter also avoids copying dense mappings into the CLucene writer. The base already includes row-ID compression (#70745) and the CLucene BM25 statistics fix (#70887). This backport advances `contrib/clucene` from `f2864e07f08` to `bb3b6ef0c32` for apache/doris-thirdparty#438. The compaction test helper calls the branch-4.2 mapping selector directly. The master-branch Release A/B on 335,544,320 physical rows measured mapping storage going from 2.50 GiB to 157.07 MiB and total compaction time increasing by 19.14% on that workload. See [the original PR](https://github.com/apache/doris/pull/70890) for the setup and full results. ### Testing - `git diff --check upstream/branch-4.2...HEAD` passed. - Branch-4.2 ASAN BE tests are in progress. ### Release note Eligible compactions with CLucene indexes can use compressed row-ID mappings. ### AI Disclosure OpenAI Codex prepared the backport and adapted the test helper to branch-4.2. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
