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...
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: distribute
Version: rhgs-3.4
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Nithya Balachandran
QA Contact: Prasad Desala
Depends On:
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:
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

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):

How reproducible:

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.