These are chat archives for atomix/atomix
The only safe way to do that is by literally listing the nodes’ IDs and waiting until they all join the cluster. But this completely depends on what and how the decision is being made.
The correct way to do this is probably just by using a counting primitive. The semaphore and barrier primitives are sort of close. They track the number of active sessions and aren’t prone to network partitions when run in Raft.