spacejam / sled

the champagne of beta embedded databases
Apache License 2.0
8.18k stars 383 forks source link

sled 1.0 alpha merges and storage refactor #1459

Closed spacejam closed 1 year ago

spacejam commented 1 year ago

This starts freeing empty tree nodes to allow their memory to be reclaimed and fixes a number of race conditions related to the previous way that dirty pages were being tracked. A separate PR will add reclamation for the heap-based on-disk storage system.