[Bugs] [Bug 1636502] Unwanted repeated logs in self heal daemon logs

bugzilla at redhat.com bugzilla at redhat.com
Mon Dec 24 09:05:51 UTC 2018


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



--- Comment #3 from Yaniv Kaul <ykaul at redhat.com> ---
The fix has caused others to pop up. For example:
[2018-12-23 23:52:37.333162] I [dict.c:2619:dict_get_str_boolean]
(-->/build/install/lib/glusterfs/6dev/xlator/mgmt/glusterd.so(+0xb3626)
[0x7fc032ef3626]
-->/build/install/lib/glusterfs/6dev/xlator/mgmt/glusterd.so(+0xaf8db)
[0x7fc032eef8db]
-->/build/install/lib/libglusterfs.so.0(dict_get_str_boolean+0x170)
[0x7fc03e282008] ) 0-dict: key nfs.disable, integer type asked, has string type
[Invalid argument]

The reason being that nfs.disable (NFS_DISABLE_MAP_KEY) is set as string. For
example:
if (dict_get_str_boolean(volinfo->dict, NFS_DISABLE_MAP_KEY, 1)) {
            ret = dict_set_dynstr_with_alloc(volinfo->dict,
NFS_DISABLE_MAP_KEY,
                                             "on");


The correct thing of course is to introduce a sane boolean setter/getter and be
done with all those hacks ...

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


More information about the Bugs mailing list