You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Ken Howe (Jira)" <ji...@apache.org> on 2019/09/26 17:13:00 UTC

[jira] [Commented] (GEODE-7123) Allow the gfsh to create disk-stores when there are no server members in the cluster

    [ https://issues.apache.org/jira/browse/GEODE-7123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938817#comment-16938817 ] 

Ken Howe commented on GEODE-7123:
---------------------------------

Based on review comments The PR#4095 will be reworked to provide the desired functionality without adding a new option to gfsh's {{create disk-store}} command.

> Allow the gfsh to create disk-stores when there are no server members in the cluster
> ------------------------------------------------------------------------------------
>
>                 Key: GEODE-7123
>                 URL: https://issues.apache.org/jira/browse/GEODE-7123
>             Project: Geode
>          Issue Type: Improvement
>          Components: management
>            Reporter: Ken Howe
>            Assignee: Ken Howe
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> This enhancement provides support for configuring PDX persistence using non-DEFAULT disk-store.
> The recommendation is to use a user-specified disk-store for PDX persistence as per this excerpt from the Geode docs:
> {code: title=https://geode.apache.org/docs/guide/19/developing/data_serialization/persist_pdx_metadata_to_disk.html}
> If you are using PDX serialized objects as region entry keys and you are using persistent regions, then you must configure your PDX disk store to be a different one than the disk store used by the persistent regions.
> {code}
> PDX persistence can be configured using {{gfsh}}:
> {code}
> configure pdx --read-serialized=true --disk-store=<disk-store-name>
> {code}
> The previous should only be run on an otherwise non-configured cluster so that the PDX configuration will be adopted be servers as they join the cluster. However, to use a non default diskstore, the cluster currently must have at least one server member and the disk-store must already be created.
> *Proposed Enhancement*
> Add an option to the {{gfsh}} {{create disk-store}} command to only add the cluster-configuration record for the disk-store. Server members will then create the disk-store when they join.
> {code}
> gfsh>help create disk-store
> NAME
>     create disk-store
> . . . 
>     stage-configuration
>         Only create the cluster configuration element for the disk-store. The disk-store will be created on any future servers to join the cluster.
>         Required: false
>         Default (if the parameter is specified without value): true
>         Default (if the parameter is not specified): false
> gfsh>create disk-store --name=PDXSTORE --dir=pdxstore --stage-configuration
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)