I'm not 100% sure what you mean by "what files can be checked". I think you are looking for where the write ahead log and snapshot are stored. This directory (optionally directories) are specified in the configuration file.

First, there is the dataDir, which, according to the documentation is "the location to store the in-memory database snapshots and, unless specified otherwise, the transaction log of updates to the database".

The "unless specified otherwise" refers to the optional configuration dataLogDir. The dataDir always contains the snapshots in "snapshot.X" files and if dataLogDir is not specified log files in "log.X" (X is a value that ZooKeeper uses for keeping track of transactions). If dataLogDir is specified, dataDir will only contain snapshots and dataLogDir will have the log files.

Small note, on ZooKeeper 3.4.11 there is a bug regarding dataLogDir not functioning properly (see: https://issues.apache.org/jira/browse/ZOOKEEPER-2960). This does not exist prior to 3.4.11 and should be fixed in the next release.

Thanks,
Abe

On Tue, Jan 9, 2018, at 01:29, tj5527 wrote: