dragonboat v3.1 Release Notes
Release Date: 2019-07-04 // almost 5 years ago-
๐ Dragonboat v3.1 is a maintenance release with breaking change. All v3.0.x users are recommended to upgrade. Please make sure to carefully read the CHANGELOG below before upgrading.
๐ Bug fixes
- ๐ Fixed ImportSnapshot.
๐ New features
- โ Added NodeHostConfig.RaftEventListener to allow user applications to be notified for certain Raft events.
๐ Improvements
- Made restarting an existing node faster.
- Immediately return ErrClusterNotReady when requests are dropped for not having a leader.
๐ฅ Breaking changes
- โฌ๏ธ When upgrading to v3.1.x from v3.0.x, dragonboat requires all streamed or imported snapshots to have been applied. github.com/lni/dragonboat/tools/upgrade310 is provided to check that. See the godoc in github.com/lni/dragonboat/tools/upgrade310 for more details. For users who use NodeHost.RequestSnapshot to export snapshots for backup purposes, we recommend to re-generate all exported snapshots once upgraded to v3.1.