Insert, fetch and scan persistent rows
Implement the following agreed behavior through the shared engine interfaces.
Contract
| Field | Value |
|---|---|
| Specification | STORE-004 |
| Module | storage |
| Scope | Required implementation or delivery |
| Milestone | M1, due 2026-12-06 |
| Owner role | Storage / search — sjr24 |
| Implementation | Planned; scaffold only |
| Contract review | Team review required before implementation |
Interface
RecordStore.insert/fetch/scan -> RID / Row / Cursor
These are proposed C++ design contracts, not an already implemented API. Shared types and ownership define the intended module boundaries.
Dependencies
- STORE-002: Bounded buffer pool, pinning and dirty eviction
- STORE-003: Row encoding and table-page slot layout
Acceptance checklist
- [ ] Allocate records across many pages; scan returns each live row once
- [ ] Cursor does not retain every row or depend on a pinned-page pointer
- [ ] Close and reopen then reproduce values and RIDs
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.