1
0
Fork 0

3 Commits (master)

Author SHA1 Message Date
Philip O'Toole 57eabce899 Protect against double-close of NodeTransport 1 year ago
Philip O'Toole 365abac57c Simple unit test of NewNodeTransport 1 year ago
Philip O'Toole f57ace7da2 Broadcast Store meta via standard consensus
With this change the cluster metadata (arbitrary key-value data associated with each node) is now broadcast across the cluster using the standard consensus mechanism. Specifically the use case for this metadata is to allow all nodes know the HTTP API address of all other nodes, for the purpose of redirecting requests to the leader.

This change removed the need for multiplexing two logical connections
over the single Raft TCP connection, which greatly simplifies the
networking code generally.

Original PR https://github.com/rqlite/rqlite/pull/434
5 years ago