All Versions
23
Latest Version
3.3
Avg Release Cycle
34 days
Latest Release
1163 days ago

Changelog History
Page 1

  • v3.3 Changes

    January 20, 2021

    ๐Ÿš€ Dragonboat v3.3 is a major release that comes with new features and improvements. All v3.2.x users are recommended to upgrade.

    ๐Ÿ†• New features

    • ๐Ÿ”Š Pebble, which is bidirectional compatible with RocksDB, has been made the default engine for storing Raft Logs. RocksDB and CGO are no longer required.
    • โž• Added the ability to slow down incoming proposals when the Raft Logs engine is highly loaded.
    • โž• Added the option to get notified when proposals and config changes are committed.
    • โž• Added an experimental gossip service to allow NodeHosts to use dynamically assigned IP addresses as RaftAddress.
    • โž• Added the ability to better control memory footprint.
    • โž• Added ARM64/Linux as a new targeted platform.

    โฌ†๏ธ Note that Pebble provides bidirectional compatibility with RocksDB v6.2.1. Existing Dragonboat applications can upgrade to v3.3 without any conversion unless a newer version of RocksDB was used. RocksDB v6.4.x has been briefly tested and it seems to be compatible with Pebble as well.

    ๐Ÿ‘Œ Improvements

    • โšก๏ธ Optimized the read index implementation.
    • โฌ‡๏ธ Reduced LogDB restart delays.
    • ๐Ÿ”ง Made LogDB configurations accessible programmatically.
    • โž• Added protobuf workaround to allow Dragonboat and etcd to be used in the same project.
    • ๐Ÿ›  Fixed a few data race issues.
    • ๐Ÿ›  Fixed a potential Raft election deadlock issue when nodes are highly loaded.
    • ๐Ÿ‘ Allow incoming proposals to be rate limited when LogDB is busy.
    • Simplified many aspects of the library.

    ๐Ÿ’ฅ Breaking changes

    • The signature of config.LogDBFactoryFunc has been changed. Your application is not affected unless it uses a custom LogDB implementation.
    • ๐Ÿ‘ Due to lack of user interests, C++ binding is no longer supported.
    • ๐Ÿ‘ LevelDB based LogDB is no longer supported.
    • ๐Ÿšš NodeHostConfig's FS and SystemTickerPrecision fields have been moved into NodeHostConfig.Expert.
  • v3.2.8 Changes

    September 16, 2020

    ๐Ÿš€ Dragonboat v3.2.8 is a minor maintenance release.

    ๐Ÿ‘Œ Improvements

    • โฌ†๏ธ upgraded to github.com/lni/goutils v1.2.2
    • ๐Ÿ›  fixed a potential data race
    • โšก๏ธ updated dummy certificates used in unit tests to avoid issues with Go1.5
  • v3.2.7 Changes

    September 07, 2020

    ๐Ÿš€ Dragonboat v3.2.7 is a minor maintenance release.

    ๐Ÿ‘Œ Improvements

    • โฌ†๏ธ upgraded to github.com/lni/goutils v1.2.1
  • v3.2.6 Changes

    August 22, 2020

    ๐Ÿš€ Dragonboat v3.2.6 is a minor maintenance release.

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ›  fixed how updates from stopped node are handled
  • v3.2.5 Changes

    August 14, 2020

    ๐Ÿš€ Dragonboat v3.2.5 is a minor maintenance release.

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ›  fixed a data race issue related to rejected Raft config change
  • v3.2.4 Changes

    August 08, 2020

    ๐Ÿš€ Dragonboat v3.2.4 is a minor maintenance release.

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ›  fixed a bug in snapshot compaction.
    • ๐Ÿ›  fixed a bug in message queue.
  • v3.2.3 Changes

    May 21, 2020

    ๐Ÿš€ Dragonboat v3.2.3 is a minor maintenance release.

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ›  fixed a bug to allow witness node to generate dummy snapshot
    • โฌ‡๏ธ reduced memory footprint when there are intensive concurrent reads
  • v3.2.2 Changes

    April 19, 2020

    ๐Ÿš€ Dragonboat v3.2.2 is a minor maintenance release.

    ๐Ÿ‘Œ Improvements

    • resolved an issue with protobuf v1.4.0.
  • v3.2.1 Changes

    April 19, 2020

    ๐Ÿš€ Dragonboat v3.2.1 is a minor maintenance release.

    ๐Ÿ‘Œ Improvements

    • resolved a protobuf issue to allow etcd and dragonboat to be used in the same project.
  • v3.2 Changes

    March 05, 2020

    โฌ†๏ธ 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.