Inspect concurrent join requests handling for CaS conflicts
A follow-up for !601 (merged)
Recently we've changed .proc_raft_join
request so that it uses CaS now. The drawback is the risk of CaS rejection, which may be rather frequent since concurrent join requests are still handled by the leader in many parallel fibers.
My proposal is the following:
- Measure the number of rejects in practice. See test/manual/test_scaling.py.
- If it's severe, we could simply supply
.proc_raft_join
with a mutex.