VictoriaMetrics/lib/vmselectapi
Zakhar Bessarab 84184b707a
app/cluster: communicate node IDs when performing a handshake
Send a node ID of vmstorage as a part of vmselect and vminsert handshakes.
Use vmstorage node ID as an identifier for consistent hashing at vminsert.

Cluster native endpoints calculate vminsert and vmselect node IDs as a hash of all underlying storage node IDs, so that it will also remain consistent in case of address changes.

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
2024-07-29 12:29:20 +04:00
..
api.go app/cluster: communicate node IDs when performing a handshake 2024-07-29 12:29:20 +04:00
server.go app/cluster: communicate node IDs when performing a handshake 2024-07-29 12:29:20 +04:00