badger v1.5.0 Release Notes

Release Date: 2018-05-08 // over 3 years ago
    • Introduce NumVersionsToKeep option. This option is used to discard many versions of the same key, which saves space.
    • ➕ Add a new SetWithDiscard method, 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.
    • Introduce ValueLogMaxEntries to restrict the number of key-value pairs per value log file. This helps bound the time it takes to garbage collect one file.