chitchat
chitchat copied to clipboard
Implement Leave/Join
We probably need to implement a leave/join method for a node.
- Leave: stops the node from gossiping to others, stops processing gossip messages
- Join: puts back the node in normal mode These should be useful for exposing on the gRPC service.
Currently, we have shutdown that stops the UpdServer and consumes the server.
@fulmicoton WDYT? https://github.com/quickwit-oss/quickwit/pull/1164/files#diff-5f02eaf8b40edf6dfb71eab3ea3c59888c42f987d19b1934b9c03bc176f4ec50R191
Let's add it when we need it.