Bug 1565540 - cluster.lookup-optimize toggle does not change client side graph as per client logs
Summary: cluster.lookup-optimize toggle does not change client side graph as per clien...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: distribute
Version: rhgs-3.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nithya Balachandran
QA Contact: Prasad Desala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-10 09:15 UTC by Prasad Desala
Modified: 2018-04-18 07:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-18 07:16:18 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Prasad Desala 2018-04-10 09:15:08 UTC
Description of problem:
=======================
When cluster.lookup-optimize is toggled there is no change in the client graph as per client logs.
However, in /var/lib/glusterd/vols/<volname>/trusted-<volname>.tcp-fuse.vol can see the volume option loaded to the volume.

Client logs:
============
[2018-04-10 05:26:59.105804] I [glusterfsd-mgmt.c:53:mgmt_cbk_spec] 0-mgmt: Volume file changed
[2018-04-10 05:26:59.838762] I [glusterfsd-mgmt.c:53:mgmt_cbk_spec] 0-mgmt: Volume file changed
[2018-04-10 05:26:59.900473] I [glusterfsd-mgmt.c:1831:mgmt_getspec_cbk] 0-glusterfs: No change in volfile,continuing
[2018-04-10 05:27:07.606958] I [glusterfsd-mgmt.c:53:mgmt_cbk_spec] 0-mgmt: Volume file changed

tcp-fuse.vol:
==============
volume distrepx3-dht
    type cluster/distribute
    option lock-migration off
    option lookup-optimize off
    subvolumes distrepx3-replicate-0 distrepx3-replicate-1 distrepx3-replicate-2 distrepx3-replicate-3 distrepx3-replicate-4 distrepx3-replicate-5 distrepx3-replicate-6 distrepx3-replicate-7 distrepx3-replicate-8 distrepx3-replicate-9 distrepx3-replicate-10 distrepx3-replicate-11

Version-Release number of selected component (if applicable):
3.12.2-7.el7rhgs.x86_64

How reproducible:
always

Steps to Reproduce:
===================
1) Create a x3 volume and start it.
2) FUSE mount it on a client.
3) tail client mount logs and toggle volume set option cluster.lookup-optimize.

Actual results:
==============
cluster.lookup-optimize toggle does not change client side graph.

Expected results:
=================
When volume set option cluster.lookup-optimize is toggled there should be a change in client side  graph.


Note You need to log in before you can comment on or make changes to this bug.