Repository navigation
Conversation
Signed-off-by: Bisheng Huang <hbisheng@gmail.com>
Signed-off-by: Bisheng Huang <hbisheng@gmail.com>
Signed-off-by: Bisheng Huang <hbisheng@gmail.com>
|
Skipping CI for Draft Pull Request. |
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Problem and change
Titan needs to carry the raw length of the current blob value from an input SST to the output table collectors. Add an optional iterator hint and explicit builder/collector arguments for this length. Compaction keeps the hint with its current entry and clears it when the value changes. Iterator wrappers forward the hint from the active input.
Default implementations keep existing callers working. Titan owns the property encoding, lookup and backfill.
This is a draft PoC for tikv/tikv#20419. BlobIndex, blob files and WAL keep their existing formats. The new SST property is optional; old readers can ignore it and old compactions can drop it.
Dependencies and validation
The companion Titan, rust-rocksdb and TiKV changes use this interface. Their draft PRs are linked below.
engine_rockstests passed on the final code set.The branch is based on
37ab6137; the PR targets8.10.tikv. It is three upstream commits behind at draft creation.Companion draft PRs