[
https://issues.apache.org/jira/browse/GEODE-6672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837553#comment-16837553
]
ASF subversion and git services commented on GEODE-6672:
--------------------------------------------------------
Commit 88ad403393752b6d915e4d038c89783a5142e99b in geode's branch
refs/heads/develop from Jinmei Liao
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=88ad403 ]
GEODE-6672: persist the diskstore dir correctly in cluster configuration (#3572)
Co-authored-by: Jens Deppe <[email protected]>
* also make the diskstore config api easier to navigate without affecting xml
and json serialization
> when create disk-store in gfsh , the folder path in cluster-config file is
> not same as the inputed value
> --------------------------------------------------------------------------------------------------------
>
> Key: GEODE-6672
> URL: https://issues.apache.org/jira/browse/GEODE-6672
> Project: Geode
> Issue Type: Bug
> Components: gfsh
> Reporter: Gang Yan
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> in the latest build.
> # start locator
> # start server "g1-s1"
> # executed gfsh to create disk-store
> {code:java}
> create disk-store --name=ds1 --dir=./data/persist
> {code}
> 4. in the file system , we can find:
> g1-s1 ---server folder
> |
> -----data
> |
> --------persist
> 5. start another server "g2-s2", in the file system, we can find:
> g2-s2 ---server folder
>
> |
> --------persist
> the folder "data" disappeared.
>
> 6. and when we executed "export cluster-configuration", we can find:
> {code:java}
> cluster.xml:
> <?xml version="1.0" encoding="UTF-8" standalone="no"?><cache version="1.0"
> xsi:schemaLocation="http://geode.apache.org/schema/cache
> http://geode.apache.org/schema/cache/cache-1.0.xsd
> http://geode.apache.org/schema/lucene
> http://geode.apache.org/schema/lucene/lucene-1.0.xsd
> http://geode.apache.org/schema/jdbc
> http://geode.apache.org/schema/jdbc/jdbc-1.0.xsd"
> xmlns="http://geode.apache.org/schema/cache"
> xmlns:lucene="http://geode.apache.org/schema/lucene"
> xmlns:jdbc="http://geode.apache.org/schema/jdbc"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <disk-store name="ds1" auto-compact="true" compaction-threshold="50"
> allow-force-compaction="false" max-oplog-size="1024" time-interval="1000"
> write-buffer-size="32768" queue-size="0" disk-usage-warning-percentage="90"
> disk-usage-critical-percentage="99">
> <disk-dirs>
> <disk-dir dir-size="2147483647">persist</disk-dir>
> </disk-dirs>
> </disk-store>
> </cache>
> {code}
> so the configuration stored in Cluster configuration Service is not as same
> as we inputed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)