1
0
Fork 0

57 Commits (7d9650e737b6e78f7f6f3ce7058344195efcbdd7)

Author SHA1 Message Date
Philip O'Toole e934630a58 Basic cluster RPC service 3 years 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
Philip O'Toole e376812907 Add method to Store that returns leader ID
With the advent of Raft IDs, this distinction matters.
5 years ago
Philip O Toole bf2047b45b 'go lint' fixes 8 years ago
Philip O'Toole fac48629bc Start initial integration of mux (#109)
Integrate TCP mux with cluster and store

This change allows any node, including followers, to use the Raft log to make changes to a cluster-wide state.
9 years ago
Philip O Toole aef17f6a52 Listener is actually a Transport 9 years ago
Philip O Toole 57880acc58 Better names for cluster package files 9 years ago