You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jason Huynh (Jira)" <ji...@apache.org> on 2020/06/18 22:01:00 UTC

[jira] [Updated] (GEODE-8281) GFSH configure PDX overrides previously set values

     [ https://issues.apache.org/jira/browse/GEODE-8281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Huynh updated GEODE-8281:
-------------------------------
    Issue Type: Bug  (was: New Feature)

> GFSH configure PDX overrides previously set values
> --------------------------------------------------
>
>                 Key: GEODE-8281
>                 URL: https://issues.apache.org/jira/browse/GEODE-8281
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>            Reporter: Jason Huynh
>            Priority: Major
>
> When configuring pdx using gfsh, if I configure the pdx disk store and then the read-serialized on a different command, it overrides the persistent value to false.
> {code:java}
> gfsh>configure pdx --disk-store=new-diskstore
>  read-serialized = false
>  ignore-unread-fields = false
>  persistent = true
>  disk-store = new-diskstore
>  Cluster configuration for group 'cluster' is updated.
> gfsh>configure pdx --read-serialized=true
>  read-serialized = true
>  ignore-unread-fields = false
>  persistent = false
>  Cluster configuration for group 'cluster' is updated.{code}
>  
> The documentation for this feature also shows the same type of behavior (order of operations has been flipped)
> gfsh>configure pdx --read-serialized=true
> persistent = false
> read-serialized = true
> ignore-unread-fields = false
> gfsh>configure pdx --disk-store=/home/username/server4/DEFAULT.drf
> persistent = true
> disk-store = /home/username/server4/DEFAULT.drf
> read-serialized = false
> ignore-unread-fields = false
> Docs for Configure Pdx should probably also be updated when this is fixed and also not point to a drf file as the directory.
>  
>  
> [~nnag] notes that it looks like it has to do with the following unspecifiedDefaultValue options
> @CliOption(key = CliStrings.CONFIGURE_PDX__READ__SERIALIZED,
>           unspecifiedDefaultValue = "false",
>  
>  



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