[
https://issues.apache.org/jira/browse/ZOOKEEPER-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091893#comment-13091893
]
Roman Shaposhnik commented on ZOOKEEPER-1161:
---------------------------------------------
Basically, this is to prevent things like typos when editing zoo.conf from
silently becoming a problem when ZK doesn't find an existing dataDir (full of
data) and simply goes on and creates a new one. This is more of a usability and
user-friendliness issue, rather than anything else, but given how critical ZK
is becoming I believe it is important to minimize even the slightest chance of
data corruption (or discontinuity).
> Provide an option for disabling auto-creation of the data directroy
> -------------------------------------------------------------------
>
> Key: ZOOKEEPER-1161
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1161
> Project: ZooKeeper
> Issue Type: New Feature
> Reporter: Roman Shaposhnik
>
> Currently if ZK starts and doesn't see and existing dataDir it tries to
> create it. There should be an option to tweak this behavior. As for default,
> my personal opinion is to NOW allow autocreate.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira