mirror of
https://github.com/rqlite/rqlite.git
synced 2022-10-30 02:37:32 +03:00
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 lines
82 B
Go
5 lines
82 B
Go
/*
|
|
Package tcp provides the internode communication network layer.
|
|
*/
|
|
package tcp
|