B+ tree deletion, range iteration and reopen
Implement the following agreed behavior through the shared engine interfaces.
Contract
| Field | Value |
|---|---|
| Specification | INDEX-003 |
| Module | index |
| Scope | Required implementation or delivery |
| Milestone | M2, due 2026-12-20 |
| Owner role | Storage / search — sjr24 |
| Implementation | Planned; scaffold only |
| Contract review | Team review required before implementation |
Interface
BPlusTree.erase(key,RID); range(bounds)
These are proposed C++ design contracts, not an already implemented API. Shared types and ownership define the intended module boundaries.
Dependencies
Acceptance checklist
- Erase one duplicate RID without removing its neighbors
- Maintain correct separators/root and bounded range iteration after deletion
- Reopen a multi-level tree and verify exact/range results against an ordered reference
Verification
Completion rule
Link this spec and its GitLab issue in an MR into develop. Include relevant Linux evidence, obtain the other teammate’s review, merge, delete the feature branch, and close the issue. A page describes intended behavior; the GitLab issue and merged code determine completion.