-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
enhancementNew feature or requestNew feature or requeststatus/needs-triageNeeds initial triageNeeds initial triage
Description
🚀 Is your feature request related to a problem?
Prefix scan behavior and bloom-based pruning are currently not governed by a unified policy. This makes correctness/performance tradeoffs less explicit and harder to tune per workload.
💡 Proposed Solution
Introduce a PrefixPolicy abstraction to control:
- exact-prefix seek behavior,
- safe prefix bloom/table pruning rules,
- fallback behavior when prefix assumptions are not guaranteed.
🎨 Alternatives Considered
- Keep ad-hoc prefix handling spread across iterators/tables.
- Expose only boolean switches.
A dedicated policy type is clearer and easier to evolve.
📝 Technical Details / Implementation Plan
- Define
PrefixPolicyoptions and wire them into iterator/table selection. - Ensure correctness-safe fallback path when prefix pruning cannot be guaranteed.
- Add benchmarks for prefix-heavy workloads to quantify pruning win.
🧐 Additional Context
This feature should prioritize correctness first, then optimize with bloom/table pruning where safe.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requeststatus/needs-triageNeeds initial triageNeeds initial triage
Projects
Status
Todo