|
@@ -762,7 +762,7 @@ public class QuorumPeer extends ZooKeeperThread implements QuorumStats.Provider
|
|
|
writeLongToFile(ACCEPTED_EPOCH_FILENAME, acceptedEpoch);
|
|
|
}
|
|
|
if (acceptedEpoch < currentEpoch) {
|
|
|
- throw new IOException("The current epoch, " + ZxidUtils.zxidToString(currentEpoch) + " is less than the accepted epoch, " + ZxidUtils.zxidToString(acceptedEpoch));
|
|
|
+ throw new IOException("The accepted epoch, " + ZxidUtils.zxidToString(acceptedEpoch) + " is less than the current epoch, " + ZxidUtils.zxidToString(currentEpoch));
|
|
|
}
|
|
|
} catch(IOException ie) {
|
|
|
LOG.error("Unable to load database on disk", ie);
|