You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by GitBox <gi...@apache.org> on 2019/03/22 13:47:23 UTC
[GitHub] [zookeeper] kshvakov commented on a change in pull request #865:
zoo_sample.cfg: enable autopurge and change dataDir
kshvakov commented on a change in pull request #865: zoo_sample.cfg: enable autopurge and change dataDir
URL: https://github.com/apache/zookeeper/pull/865#discussion_r268174583
##########
File path: conf/zoo_sample.cfg
##########
@@ -1,28 +1,29 @@
# The number of milliseconds of each tick
tickTime=2000
-# The number of ticks that the initial
+# The number of ticks that the initial
# synchronization phase can take
initLimit=10
-# The number of ticks that can pass between
+# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
-# do not use /tmp for storage, /tmp here is just
-# example sakes.
-dataDir=/tmp/zookeeper
+# do not use /tmp for storage!!!.
+dataDir=/var/lib/zookeeper/data
Review comment:
Oh, I know. But some people use this config for their production environment.
Is is awful ? Yes! Maybe this config no good as example, but is good for operations engineer who are supported production system after `newbie DevOps` engineers. Maybe you have ideas on this?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services