Commit Graph

1 Commits (7edb5b7d4394e322298b7c6f86ce73215224b5bc)

Author SHA1 Message Date
Fran Bull 8597b25840 tsconsensus: add a tsconsensus package
tsconsensus enables tsnet.Server instances to form a consensus.

tsconsensus wraps hashicorp/raft with
 * the ability to do discovery via tailscale tags
 * inter node communication over tailscale
 * routing of commands to the leader

Updates #14667

Signed-off-by: Fran Bull <fran@tailscale.com>
8 months ago