These are chat archives for atomix/atomix

5th
Jul 2017
Jordan Halterman
@kuujo
Jul 05 2017 00:36

For those that are interested in what is happening to Copycat in Atomix 2.0, the new Raft implementation can be found here.

Copycat is now a protocol module in Atomix 2. The internals are largely the same, but the API has changed significantly for a number of reasons, all of which make it faster, more fault tolerant, and less opinionated.

terrytan
@txm119161336_twitter
Jul 05 2017 02:17
@kuujo Thank you so much
kammd
@kammd
Jul 05 2017 13:28
I am trying out some examples from the documentation but everytime I call replica.bootstrap(cluster).join() the control never comes back.
Not sure what I am missing.
Jordan Halterman
@kuujo
Jul 05 2017 20:53
You can enable logging to see what’s going on, but my guess is that it’s waiting for the rest of the nodes to start up. For bootstrap to return (to start the cluster), a majority of the cluster has to be bootstrapped. If you’re bootstrapping a cluster in a single thread to play with it, bootstrap all the nodes and then call CompletableFuture.allOf(futures).join() to block until the cluster is started
Jordan Halterman
@kuujo
Jul 05 2017 23:43
@kammd