[Bugs] [Bug 1322211] volume get functionality returns null value for few volume options
bugzilla at redhat.com
bugzilla at redhat.com
Wed Mar 30 08:33:48 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1322211
--- Comment #6 from SATHEESARAN <sasundar at redhat.com> ---
(In reply to Atin Mukherjee from comment #5)
> Logic of gluster volume get functionality is as follows:
>
> 1. Code first checks for if the key is configured in volinfo->dict which
> indicates an explicit volume set command was triggered for this option.
> 2. If the key is not configured in 1, then it looks for the default value in
> the volume map entry table maintained by glusterd.
> 3. If default value is not configured in VME table in glusterd, the code
> loads the respective translator and checks for the default value.
>
> In all the above three cases if the code doesn't find a match a null value
> is returned.
>
> The options what you have listed here falls into the same category as
> explained in the above three points and glusterd doesn't find the default
> value for any of them.
>
> IMHO, the volume get logic still holds true. Until and unless the respective
> options are configured with default value in either VME table or the
> translators glusterd will continue to show null values for them.
Thanks for the clean explanation.
Then it should be the corresponding translators should take care of the default
value for the options.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=bCYjYOq1hg&a=cc_unsubscribe
More information about the Bugs
mailing list