diff options
author | Ravishankar N <ravishankar@redhat.com> | 2019-11-13 15:39:59 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@gmail.com> | 2019-11-16 09:06:48 +0000 |
commit | e97f01ac5c9e2774510807728e52e8acc9524a88 (patch) | |
tree | fedfe9adc087c652b03f7597579e1e3d24c5fa1b /xlators/cluster/dht | |
parent | 1e7fc7e540f3f7ca96e16a837d89405901bf03a2 (diff) |
afr: fix log flooding
Commit "ccf33e789 - dict.c: remove redundant checks"
removed some NULL checks in certain dict functions. This caused
flooding of fuse mount logs when I/O was done on the mount on a replica
volume:
Message:
W [dict.c:1478:dict_get_with_refn]
(-->/usr/local/lib/libglusterfs.so.0(dict_get_uint32+0x4d)
[0x7ff9121ec963] -->/usr/local/lib/libglusterfs.so.0(dict_get_with_ref+0x90)
[0x7ff9121eb93f] -->/usr/local/lib/libglusterfs.so.0(+0x229be)
[0x7ff9121eb9be] ) 0-dict: dict OR key (glusterfs.lk.lkmode) is NULL [Invalid argument]
Fix:
In the relevant AFR functions, check that dict is not NULL before trying
to perform operations on it.
See bug description for more details.
fixes: bz#1772006
Change-Id: I30c89c0b5d6c80cc86a6047aae70127769412120
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Diffstat (limited to 'xlators/cluster/dht')
0 files changed, 0 insertions, 0 deletions