Commit Graph

7 Commits

Author SHA1 Message Date
7231a48d0e
refactor: comprehensive restructuring of storage engine with improved WAL recovery and iterators 2025-04-20 12:51:00 -06:00
62c40ba608
refactor: cleaning up iterators, SRP, common interface control, etc.
All checks were successful
Go Tests / Run Tests (1.24.2) (push) Successful in 9m36s
2025-04-20 11:28:49 -06:00
5c70c128c7
feat: implement comprehensive storage statistics and metrics 2025-04-20 00:28:21 -06:00
72007886f7
feat: implement SQLite-inspired transaction model with reader-writer locks 2025-04-20 00:08:16 -06:00
68283a5fed
feat: implement merged iterator across all levels with improved tombstone handling
- Remove redundant MergedIterator (was just an alias for HierarchicalIterator)
- Add IsTombstone method to all iterators to detect deletion markers
- Enhance tombstone tracking in compaction manager with preservation options
- Fix SSTable reader to properly handle tombstone entries
- Update engine tests to directly verify tombstone behavior
- Update TODO.md to mark merged iterator task as complete
2025-04-19 22:18:12 -06:00
16780272dd
feat: implement tiered compaction with tombstone handling 2025-04-19 19:20:09 -06:00
8dc23e5573
feat: implement engine package with Level 0 flush and read path
- Create Engine structure to manage memtables, SSTables and WAL
- Implement MemTable to SSTable flush mechanism
- Add background flush goroutine for periodic flushing
- Build iterator system for reading from multiple data sources
- Create range-bounded iterators for queries
- Implement unified hierarchical iterator in iterator package
- Update TODO.md to mark Phase D as complete
2025-04-19 18:44:37 -06:00