1.6.0
1.6.0 (November 15th, 2023)
CHANGES
-
Upgrade hashicorp/go-msgpack to v2, with go.mod upgraded from v0.5.5 to v2.1.1. GH-577
go-msgpack v2.1.1 is by default binary compatible with v0.5.5 ("non-builtin" encoding of
time.Time
), but can decode messages produced by v1.1.5 as well ("builtin" encoding oftime.Time
).However, if users of this libary overrode the version of go-msgpack (especially to v1), this could break compatibility if raft nodes are running a mix of versions.
This compatibility can be configured at runtime in Raft using
NetworkTransportConfig.MsgpackUseNewTimeFormat
-- the default isfalse
, which maintains compatibility withgo-msgpack
v0.5.5, but if set totrue
, will be compatible withgo-msgpack
v1.1.5.
IMPROVEMENTS
- Push to notify channel when shutting down. GH-567
- Add CommitIndex API GH-560
- Document some Apply error cases better GH-561
BUG FIXES
- Race with
candidateFromLeadershipTransfer
GH-570