dragonboat v3.2 Release Notes

Release Date: 2020-03-05 // about 4 years ago
  • โฌ†๏ธ Dragonboat v3.2 comes with new features and improvements. All v3.1.x users are recommended to upgrade.

    ๐Ÿ†• New features

    • โž• Added snappy compression support for Raft entires and snapshots.
    • โž• Added experimental witness support.
    • โž• Added new API to allow LogDB compaction to be manually triggered.
    • โž• Added event listener support to allow users to be notified for certain Raft events.
    • โž• Added system event listener support to allow users to be notified for certain system events.
    • โž• Added Raft related metrics to exported.
    • โž• Added rate limit support to control the maximum bandwidth used for snapshot streaming.
    • โšก๏ธ Updated the C++ binding to cover all v3.1 features. Thanks JasonYuchen for working on that.
    • โž• Added a virtual filesystem layer to support more filesystem related tests.
    • โž• Added experimental Windows and FreeBSD support.

    ๐Ÿ‘Œ Improvements

    • โœ‚ Removed the restriction on max proposal payload size.
    • ๐Ÿ‘ Re-enabled the range delete support in LogDB.
    • ๐Ÿ‘ Better handling of concurrent snapshot streams.
    • ๐ŸŽ Extensive testing have been done on a high performance native Go KV store called Pebble.
    • 0๏ธโƒฃ TolerateCorruptedTailRecords is now the default WAL recovery mode in the RocksDB based LogDB.

    ๐Ÿ’ฅ Breaking changes

    There is no breaking change for regular users. However,

    • If you have built customized transport module implementing the raftio.IRaftRPC interface, there is minor change to the config.RaftRPCFactoryFunc type. See github.com/lni/dragoboat/config/config.go for details.
    • The default transport module has been updated, it is no longer compatible with earlier versions of dragonboat.
    • The default LogDB data format is no longer backward compactible with v3.1 or earlier.

    Other changes

    • LevelDB support has been marked as depreciated. It will be removed from dragonboat in the next major release.