ipfs-cluster/consensus/raft
Hector Sanjuan b852dfa892 Fix #219: WIP: Remove duplicate peer accounting
This change removes the duplicities of the PeerManager component:

* No more commiting PeerAdd and PeerRm log entries
* The Raft peer set is the source of truth
* Basic broadcasting is used to communicate peer multiaddresses
  in the cluster
* A peer can only be added in a healthy cluster
* A peer can be removed from any cluster which can still commit
* This also adds support for multiple multiaddresses per peer

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-11-08 20:04:04 +01:00
..
config_test.go Fix #139: Update cluster to Raft 1.0.0 2017-11-01 12:17:33 +01:00
config.go Fix #219: WIP: Remove duplicate peer accounting 2017-11-08 20:04:04 +01:00
consensus_test.go Fix #219: WIP: Remove duplicate peer accounting 2017-11-08 20:04:04 +01:00
consensus.go Fix #219: WIP: Remove duplicate peer accounting 2017-11-08 20:04:04 +01:00
log_op_test.go Issue #131: Improvements adding and removing 2017-11-01 13:00:32 +01:00
log_op.go Fix #219: WIP: Remove duplicate peer accounting 2017-11-08 20:04:04 +01:00
logging.go Fix #139: Update cluster to Raft 1.0.0 2017-11-01 12:17:33 +01:00
raft.go Issue #131: Destroy raft data when the peer has been removed 2017-11-01 13:25:28 +01:00