when comparing zxids for leader election, the current epoch of the peer needs to be taken into account.
- ZooKeeper
- ZOOKEEPER-335 zookeeper servers should commit the new leader txn to their logs.
- ZOOKEEPER-1082
when comparing zxids for leader election, the current epoch of the peer needs to be taken into account.