• Shaya Potter's avatar
    fix read queue test to be more accurate (#59) · 36efee07
    Shaya Potter authored
    * fix read queue test to be more accurate
    
    1) each server's set of nodes, keeps the max msg_id its seen from that node when that node has been later
    1a) because of this get_max_seen now operates on a server's nodes, not on the server itself b
    
    2) virtraft encodes the leader id into the "arg" (with a user redefinable multiplier) it sends as part of the callback, so when we get the callback, we can know what leader its for and check its voters for correctness.
    36efee07
raft_server_properties.c 7.25 KB