badger v20.07.0 Release Notes

Release Date: 2020-08-10 // 3 months 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

    • Clean up transaction oracle as we go (#1275)
    • ๐Ÿ‘‰ Use cache for storing block offsets (#1336)

    ๐Ÿ”‹ 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
      • WithDetectConflicts (#1344)
      • WithKeepBlockIndicesInCache (#1336)
      • WithKeepBlocksInCache (#1336)
    • 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)

Previous changes from v20.07.0-rc3