badger v20.07.0 Release Notes
Release Date: 2020-08-10 // over 4 years ago-
๐ Fixed
- โ Add a limit to the size of the batches sent over a stream. (#1412)
- ๐ Fix Sequence generates duplicate values (#1281)
- ๐ Fix race condition in DoesNotHave (#1287)
- Fail fast if cgo is disabled and compression is ZSTD (#1284)
- Proto: make badger/v2 compatible with v1 (#1293)
- Proto: Rename dgraph.badger.v2.pb to badgerpb2 (#1314)
- ๐ Handle duplicates in ManagedWriteBatch (#1315)
- Ensure
bitValuePointer
flag is cleared for LSM entry values written to LSM (#1313) - โฌ๏ธ DropPrefix: Return error on blocked writes (#1329)
- ๐ Confirm
badgerMove
entry required before rewrite (#1302) - โฌ๏ธ Drop move keys when its key prefix is dropped (#1331)
- Iterator: Always add key to txn.reads (#1328)
- โช Restore: Account for value size as well (#1358)
- Compaction: Expired keys and delete markers are never purged (#1354)
- GC: Consider size of value while rewriting (#1357)
- ๐ฎ Force KeepL0InMemory to be true when InMemory is true (#1375)
- Rework DB.DropPrefix (#1381)
- โก๏ธ Update head while replaying value log (#1372)
- ๐ฆ Avoid panic on multiple closer.Signal calls (#1401)
- Return error if the vlog writes exceeds more than 4GB (#1400)
๐ Performance
๐ Features
- ๐ Support disabling conflict detection (#1344)
- โ Add leveled logging (#1249)
- ๐ Support entry version in Write batch (#1310)
- โ Add Write method to batch write (#1321)
- ๐ Support multiple iterators in read-write transactions (#1286)
๐ New APIs
- Badger.DB
- Badger.Option
- Badger.WriteBatch
๐ Changes to Default Options
- 0๏ธโฃ DefaultOptions: Set KeepL0InMemory to false (#1345)
- 0๏ธโฃ Increase default valueThreshold from 32B to 1KB (#1346)
๐ Deprecated
- Badger.Option
- WithEventLogging (#1203)
โช Reverts
โช This section lists the changes which were reverted because of non-reproducible crashes.
- Compress/Encrypt Blocks in the background (#1227)