Changelog History
Page 2
-
v0.4.1 Changes
- โช Reverting reaping faulty nodes feature temporarily while investigate backwards compatibility issues.
-
v0.4.0 Changes
- ๐ Feature: Faulty nodes are now automatically reaped from nodes' membership lists after (24 hours by default). #123
- ๐ New options for controlling suspect and reaping times. #123
- โ Add new
Ready
andDestroyed
events to ringpop. #125 - โ Add additional logging to bring ringpop-go on par with ringpop-node log messages. #116
- ๐ Fix bug where Ringpop automatically added itself to the bootstrap hosts for host-based bootstrapping, but not other bootstrapping methods. #120
- ๐ Fix race condition where membership and hashring could be inconsistent with each other. #112
- โ Remove
File
andHost
options from bootstrap options in favor ofDiscoverProvider
interface. #120 - โ Add Go 1.6 to testing on CI
๐ Release notes
๐ Version incompatibility in protocol
Since 0.4.0 introduces a new node/member state, 0.4.0 is not backwards-compatible with previous versions.
โฌ๏ธ Note rolling upgrades with older versions do work, but undefined behaviour will occur if two versions run in parallel for longer than the
FaultyPeriod
(default 24 hours).๐ Changes to Bootstrap
๐ This release contains a breaking change to the options provided to the
ringpop.Bootstrap
call.BootstrapOptions.File
andBootstrapOptions.Hosts
have been replaced withBootstrapOptions.DiscoverProvider
.DiscoverProvider
is an interface which requires a single method:type DiscoverProvider interface { Hosts() ([]string, error) }
Ringpop comes with DiscoverProviders for the previous
File
andHosts
options out of the box.โฌ๏ธ To upgrade if you were previously using
File
:+ "github.com/uber/ringpop-go/discovery/jsonfile" ... - bootstrapOpts.File = *hostfile + bootstrapOpts.DiscoverProvider = jsonfile.New(*hostfile)
For static
Hosts
:+ "github.com/uber/ringpop-go/discovery/statichosts" ... - bootstrapOpts.Hosts = []string{"127.0.0.1:3000", "127.0.0.1:3001"} + bootstrapOpts.DiscoverProvider = statichosts.New("127.0.0.1:3000", "127.0.0.1:3001")
-
v0.3.0 Changes
- ๐ Fix "keys have diverged" forwarding error for retries #69
- ๐ Fix possible race in disseminator #86
- ๐ Fix possible issue with leave state not being applied correctly #94
- ๐ Fix issues where unnecessary full syncs could occur #95, #97
- ๐ Improvements to join:
- Join retries now have exponential backoff #68
- Improved resilience to possible partitions at startup #65
- Reduce network chatter on join #85
- ๐ Hashring performance improvements (see discussion on #58) #58
- ๐ฒ Revamped logging; new logger options #83
- ๐ New stats to aid partition detection #92, #104
- ๐ Improved test coverage across the board
- โก๏ธ Update and test with latest TChannel (v1.0.3) #103
- โ Various fixes and improvements to test infrastructure
-
v0.2.3 Changes
- ๐ Fix retry mechanism for forwarded requests. When multiple keys are forwarded and a retry is attempted, the retry would fail with a "key destinations have diverged" error.
-
v0.2.2 Changes
- ๐ Fix goroutine leakage on forwarded requests that time out
-
v0.2 Changes
- โ Add Thrift forwarding support #31
- โ Add
Ringpop.Ready()
#32 - โ Add
Ringpop.GetReachableMembers()
andRingpop.CountReachableMembers()
#29 - โ Add
Ringpop.Forward()
#26 - Lazy initialization and identity autodetection #40
- ๐ Improve stats and bring them in-line with those emitted by ringpop-node #46
- Automatically add self to bootstrap list #41
- ๐ Improve HashRing API #38
- ๐ Improve tests #35
- ๐ Improve constructor options pattern for Ringpop #33
- Disable TChannel retries and zipkin tracing #28
- ๐ Fix headers sent with forwarded requests #22
๐ Release notes
๐ There are a significant number of breaking changes in this release:
- ๐ Ringpop constructor has been renamed from
Ringpop.NewRingpop
toringpop.New(app string, opts ...Option)
and now accepts optional functional arguments. See the package documentation for a list of options. - ๐
ringpop.Bootstrap
now acceptsswim.BootstrapOptions
.ringpop.BootstrapOptions
has been removed. - Many public methods now return an error if they are called before the ring is bootstrapped. Signatures for the changed methods are:
Bootstrap(opts *swim.BootstrapOptions) ([]string, error)
Checksum() (uint32, error)
Lookup(key string) (string, error)
LookupN(key string, n int) ([]string, error)
Uptime() (time.Duration, error)
WhoAmI() (string, error)
- โ Removed public method
ringpop.Destroyed()
. Use the newringpop.Ready()
to determine if the ring is ready or not. - ๐ฆ Events moved to
ringpop.events
package. This includes:EventListener
RingChangedEvent
RingChecksumEvent
LookupEvent
- The behaviour of creating a single-node cluster has changed. Calling
Bootstrap()
with no bootstrap file or hosts will now cause Ringpop to create a single-node cluster.
-
v0.1 Changes
- ๐ Initial public release