Hello,

Zookeeper documentation recommends separate storage devices for datadir and
datalogdir.  https://zookeeper.apache.org/doc/r3.6.4/zookeeperAdmin.html

*Advanced Configuration*
The configuration settings in the section are optional. You can use them to
further fine tune the behaviour of your ZooKeeper servers. Some can also be
set using Java system properties, generally of the form zookeeper.keyword.
The exact system property, when available, is noted below.


dataLogDir : (No Java system property) This option will direct the machine
to write the transaction log to the dataLogDir rather than the dataDir.
This allows a dedicated log device to be used, and helps avoid competition
between logging and snapshots.
Note
Having a dedicated log device has a large impact on throughput and stable
latencies. It is highly recommended to dedicate a log device and set
dataLogDir to point to a directory on that device, and then make sure to
point dataDir to a directory not residing on that device.


It does not appear that the Zookeeper Operator used by the Solr Operator
supports configuring 2 separate Persistent Volumes/ Persistent Volume
Claims to support datadir and datalogdir.  Is this correct?

If not, how does one configure 2 PVCs for Zookeeper using the Zookeeper
operator?

Or, when running Zookeeper via an operator on K8s is this advanced
configuration of separate storage devices still advised?

Thanks,
Matt

Reply via email to