All,

Currently this option takes (true/false, defaults to false) to let locator
load cluster configuration from a specified directory provided with other
option '--cluster-config-dir'. Also `--cluster-config-dir` is used to
create the persistent disk store to store configuration region entries.

There are couple of issues on how these two parameters work together. When
starting a locator to join an existing cluster -

1) if option `--load-cluster-config-from-dir` is set to true, then users
have to provide a directory to load the configuration, failing to provide
`--cluster-config-dir` would cause the newly started locator to wipe out
existing configuration if no configuration is found (`--cluster-config-dir`
defaults to locators working directory).

2) users have to leave `load-cluster-configuration-dir=false` when
specifying a directory for persistent region to be used. Otherwise the
existing configuration is wiped out by the newly started locator as it
finds the directory provided by `--cluster-config-dir` is empty. (here
user's intent to provide a specific directory is to create the disk store
and not to load configuration from it). Unlike issue #1, users does not
need to be cautious in this case as the default value for
load-cluster-configuration-from-dir is 'false'.

Its not very intuitive how these two parameters work together, so in favor
of simplicity this command option will be deprecated and users can rely on
'import cluster-configuration' command to import configuration while
bootstrapping a cluster.

In the past this option has created few issues: GEODE-3237, GEODE-4218.

Sai

Reply via email to