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.