[Bugs] [Bug 1193929] GlusterFS can be improved

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 11 07:11:26 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1193929



--- Comment #352 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/21142 committed in master by "Atin
Mukherjee" <amukherj at redhat.com> with a commit message- mgmt xlators: store
boolean fields using integer

Surprisingly, there is not set_boolean() as there is a get_boolean()
In fact, it is stored as an INT dictionary type.

In some occasions it was stored using a string, and this caused
errors such as:
key gfproxy-server, integer type asked, has string type [Invalid argument]

I've fixed what I saw in some logs, I'm sure there are more.
The CORRECT fix is to create a boolean set and use it, but this
requires a bit more work. I'll see if I can do it later on.

Only compile-tested!

updates: bz#1193929
Signed-off-by: Yaniv Kaul <ykaul at redhat.com>

Change-Id: I45fd0c7a0824b2f42b8ce510296c9dfa4f32ad66

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list