I looked at raft_bench.cxx and notice that worker_func will call append_entries, however, the lock is only used to guard numops. When we spawned multiple threads, will these threads call append_entries concurrently? In that way, will append_entries be thread-safe (I guess so)?
I looked at raft_bench.cxx and notice that worker_func will call append_entries, however, the lock is only used to guard numops. When we spawned multiple threads, will these threads call append_entries concurrently? In that way, will append_entries be thread-safe (I guess so)?