mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-08 04:55:21 +00:00
As a client unmounts it sends a farewell request to the server. We have to carefully manage unmounting the final quorum members so that there is always a remaining quorum to elect a leader to start a server to process all their farewell requests. The mechanism for doing this described these clients as "voters". That's not really right, in our terminology voters and candidates are temporary roles taken on by members during a specific election term in the raft protocol. It's more accurate to describe the final set of clients as quorum members. They can be voters or candidates depending on how the raft protocol timeouts workout in any given election. So we rename the greeting flag, mounted client flag, and the code and comments on either side of the client and server to be a little clearer. This only changes symbols and comments, there should be no functional change. Signed-off-by: Zach Brown <zab@versity.com>