badger v1.5.0 Release NotesRelease Date: 2018-05-08 // over 3 years ago
NumVersionsToKeepoption. This option is used to discard many versions of the same key, which saves space.
- ➕ Add a new
SetWithDiscardmethod, which would indicate that all the older versions of the key are now invalid. Those versions would be discarded during compactions.
- 🚚 Value log GC moves are now bound to another keyspace to ensure latest versions of data are always at the top in LSM tree.
ValueLogMaxEntriesto restrict the number of key-value pairs per value log file. This helps bound the time it takes to garbage collect one file.