Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
A common pattern is to have a key that is written exactly once and then deleted exactly once. When that pattern occurs, compacting the deletion tombstone down to the bottom level is excessive. As soon as a compaction sees both the
The primary complexity to implementing
@hueypark go for it. CockroachDB doesn’t currently use SingleDelete, but we’ve played around with doing so. Let me know if you have any questions as you get into the implementation. You’ll probably want to look at RocksDB to see if there are any gotchas (e.g. look at their test cases).