[
https://issues.apache.org/jira/browse/GEODE-3839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16581821#comment-16581821
]
ASF subversion and git services commented on GEODE-3839:
--------------------------------------------------------
Commit 152701b4f51b1a6f00179327e2e72df046a85e00 in geode's branch
refs/heads/develop from [~nabarunnag]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=152701b ]
GEODE-3839: Warning when cache xml is used (#2271)
* Additional logs added when cache-xml file is used in start server
gfsh command.
* A warning is logged mentioning that cluster config will take
precedence over the cache-xml file provided in the command.
* start server command help updated with the above information.
> 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
> 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)