Red Hat Bugzilla – Bug 1274990
Enable lookup-optimize for tiered volumes
Last modified: 2015-12-01 11:45:32 EST
The lookup-optimize is an important DHT optimization. Rather than sending lookups to all sub volumes, it only sends lookups to hashed sub volumes (unless there has been a configuration change). Tiered volumes can benefit from the feature in lower level DHT translators.
REVIEW: http://review.gluster.org/12421 (cluster/tier: WIP support lookup-optimize for tiered volumes) posted (#1) for review on master by Dan Lambright (email@example.com)
I don't think it is needed based on experiments and code inspection: I think this is because it is only included if the voltype is "cluster/distribute" per glusterd-volume-set whereas tier uses cluster/tier. I created distributed volume with lookup-unhashed on, then attached tier. Also set lookup-unhashed to an existing volume, turned the volume off then back on. In all cases the dict reaching tier_init() did not include lookup-unhashed.
Setting to CLOSED and will reopen if necessary.