-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
We flush N memtables at once concurrently using a worker pool. Each memtable gets the according index for the sstable to flush into, but a "fresher" memtable might flush before an "older" one, causing data loss.
Instead, we should only flush the oldest memtable when we fill up all N memtables, and do so in a separate goroutine to allow for it to be done in the background.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working