GitHub user anmolnar opened a pull request:
https://github.com/apache/zookeeper/pull/441
ZOOKEEPER-2960. The dataDir and dataLogDir are used opposingly
Previously a small refactoring has swapped the usage of dataDir and
dataLogDir when QuorumPeerMain instantiates FileTxnSnapLog class.
This PR fixes it + adds unit test for verification.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anmolnar/zookeeper ZOOKEEPER-2960
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/441.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #441
----
commit 516147499541f7eb2b30f7a8cb4f50ed204469bb
Author: Andor Molnar <andor@...>
Date: 2018-01-03T14:47:26Z
ZOOKEEPER-2960. Fixed usage of dataDir and dataLogDir when instantiating
FileTxnSnapLog
----
---