Bug 1654021

Summary: Gluster volume heal causes continuous info logging of "invalid argument"
Product: [Community] GlusterFS Reporter: Tim C <tim>
Component: coreAssignee: Rinku <rkothiya>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: 5CC: bugs, pasik, rhs-bugs, rkothiya, sankarshan, storage-qa-internal, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-05 02:50:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tim C 2018-11-27 20:44:16 UTC
Description of problem:
invalid argument is logged continuously

Version-Release number of selected component (if applicable):
root@santorini:~# dpkg -l | grep gluster
ii  glusterfs-client                           5.1-ubuntu1~bionic1                             amd64        clustered file-system (client package)
ii  glusterfs-common                           5.1-ubuntu1~bionic1                             amd64        GlusterFS common libraries and translator modules
ii  glusterfs-server                           5.1-ubuntu1~bionic1                             amd64        clustered file-system (server package)


How reproducible:
Continuous during heal operation

Steps to Reproduce:
1. start heal process
2.
3.

Actual results:
invalid argument is logged continuously

Expected results:
No logging of invalid argument

Additional info:
(tail /var/log/glusterfs/bricks/data-brick1.log):
[2018-11-27 14:32:13.115163] I [dict.c:555:dict_get] (-->/usr/lib/x86_64-linux-gnu/glusterfs/5.1/xlator/features/cdc.so(+0x2920) [0x7f4310b2c920] -->/usr/lib/x86_64-linux-gnu/glusterfs/5.1/xlator/features/cdc.so(+0x3656) [0x7f4310b2d656] -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(dict_get+0x83) [0x7f431dd31753] ) 0-dict: !this || key=deflate [Invalid argument]
[2018-11-27 14:32:13.195664] I [dict.c:555:dict_get] (-->/usr/lib/x86_64-linux-gnu/glusterfs/5.1/xlator/features/cdc.so(+0x2920) [0x7f4310b2c920] -->/usr/lib/x86_64-linux-gnu/glusterfs/5.1/xlator/features/cdc.so(+0x3656) [0x7f4310b2d656] -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(dict_get+0x83) [0x7f431dd31753] ) 0-dict: !this || key=deflate [Invalid argument]
[2018-11-27 14:32:13.272506] I [dict.c:555:dict_get] (-->/usr/lib/x86_64-linux-gnu/glusterfs/5.1/xlator/features/cdc.so(+0x2920) [0x7f4310b2c920] -->/usr/lib/x86_64-linux-gnu/glusterfs/5.1/xlator/features/cdc.so(+0x3656) [0x7f4310b2d656] -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(dict_get+0x83) [0x7f431dd31753] ) 0-dict: !this || key=deflate [Invalid argument]

Comment 3 Worker Ant 2019-02-14 10:55:30 UTC
REVIEW: https://review.gluster.org/22215 (core: fix volume heal to avoid \"invalid argument\") posted (#1) for review on master by Rinku Kothiya

Comment 4 Worker Ant 2019-03-05 02:50:39 UTC
REVIEW: https://review.gluster.org/22215 (core: fix volume heal to avoid \"invalid argument\") merged (#3) on master by Amar Tumballi