add duplex partition to virtraft (#42)
before, purposefully, virtraft had simplex partitions (i.e. traffic was only blocked from flowing one way). however, for read_queue tests and for correctness of them, we have to ensure that its duplex (i.e. neither side can talk to each other). otherwise, we can end up in a situation, where leader heartbeated every node, the majority of the nodes got the ping, but the majority couldn't reply back. If there's a bug in libraft's calculation, by simply looking at the other nodes, we would think everything is fine, as they got the heartbeat
Please register or sign in to comment