Description of problem: After enabling bitrot on volume, Creating a clone of snapshot genearates warning " xlator.c:148:xlator_volopt_dynload] 0-xlator: /usr/lib64/glusterfs/3.7.9/xlator/features/bitrot.so: cannot open shared object file" Version-Release number of selected component (if applicable): How reproducible: 100 Steps to Reproduce: 1. Create 2*2 distribute replicate volume 2. Enable quota, set limit-usage and bitrot 3. Crate snapshot, activate it 4. Create clone of snapshot Actual results: Clone succeeds with Warning message Expected results: Snapshot clone should not generate the warning message Additional info: Error log for glusterd ================================== E [MSGID: 106122] [glusterd-mgmt.c:2344:glusterd_mgmt_v3_initiate_snap_phases] 0-management: Post Validation Failed The message "W [MSGID: 101095] [xlator.c:148:xlator_volopt_dynload] 0-xlator: /usr/lib64/glusterfs/3.7.9/xlator/features/bitrot.so: cannot open shared object file:
REVIEW: http://review.gluster.org/14183 (glusterd/bitrot: Fix bitrot xlator_type) posted (#1) for review on master by Kotresh HR (khiremat)
COMMIT: http://review.gluster.org/14183 committed in master by Atin Mukherjee (amukherj) ------ commit 29254449b19697b93ebf376541ea5062b4a99fcb Author: Kotresh HR <khiremat> Date: Tue May 3 14:47:19 2016 +0530 glusterd/bitrot: Fix bitrot xlator_type Fix "voltype" value for bitrot in 'glusterd_volopt_map'. Routines such as 'gd_is_boolean_option' will use the value of "voltype" to load the shared library and figure out data type of specific options. If the value of "voltype" does not match with the actual shared library name, it will break such routines. Change-Id: I36af4bb3e7043cc87dd19aea1985f3167ff82c18 BUG: 1332465 Signed-off-by: Kotresh HR <khiremat> Reviewed-on: http://review.gluster.org/14183 NetBSD-regression: NetBSD Build System <jenkins.org> Reviewed-by: Atin Mukherjee <amukherj> Reviewed-by: Kaushal M <kaushal> Smoke: Gluster Build System <jenkins.com> CentOS-regression: Gluster Build System <jenkins.com>
v3.10.0 contains the fix.