Swapnil Bawaskar created GEODE-3839:
---------------------------------------
Summary: log warning when --cache-xml-file is used with cluster
config
Key: GEODE-3839
URL: https://issues.apache.org/jira/browse/GEODE-3839
Project: Geode
Issue Type: Bug
Components: gfsh
Reporter: Swapnil Bawaskar
When a server started using {{gfsh>start server --cache-xml-file=file.xml}} the
contents of cache.xml are overridden with contents of cluster config. For
example:
* When I specify --server-port=0 the default cache server port is used. An
ephemeral port is never created.
* Changing a region type from REPLICATE (cluster config) to PARTITION
(cache.xml) retains the region as REPLICATE.
* Changing the persistence mode of a region retains the original setting; i.e.
what is set in cluster config.
When a user tries to start a server using cache.xml file, we should log a
warning message saying that cluster xml is going to take precedence over
contents of cache.xml. We should also change the gfsh help message to reflect
this.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)