ekati
ekati copied to clipboard
FileStore - Implement x.Remove
There are a few approaches here. Off the top of my head.
- Write a marker into the deleted noded and if we end up at the node, ignore it. Compaction will eventually reclaim the space.
- Write a delete message into a deletes file, and also remove the node from the indexes.
- Write a node fragment with a delete flag and information about the delete. Compaction/retention policy will determine when we do the hard delete.