[ https://issues.apache.org/jira/browse/GEODE-3839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nabarun closed GEODE-3839. -------------------------- > 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 > Priority: Major > Labels: pull-request-available > Fix For: 1.7.0 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > 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 (v7.6.3#76005)