summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/__init__.py
diff options
context:
space:
mode:
authorsayaleeraut <saraut@redhat.com>2020-01-22 14:20:18 +0530
committerBala Konda Reddy M <bala12352@gmail.com>2020-02-13 04:35:56 +0000
commit8bd33dd0c56ebb4b53b89b68a892e7d2984a9bc6 (patch)
tree9967607f5fed64028f534e61515fd164996d1996 /glustolibs-gluster/glustolibs/__init__.py
parentca5a1902b04670546ef6b8573fae1321bbd9e440 (diff)
[LibFix] Fix issue caused by DHT pass-through
The DHT pass-through functionality was introduced in the Gluster 6, due to which the TCs were failing for Replicate, Disperse and Arbiter volume types whenever the function to get hashrange was called. With this fix, first the Gluster version and later the volume type will be checked before calling the function to get the hashrange. If the Gluster version is greater than or equal to 6, the layout will not be checked for the pure AFR/Arbiter/EC volumes. About DHT pass-through option : The distribute xlator now skips unnecessary checks and operations when the distribute count is one for a volume, resulting in improved performance. Comes into play when there is only 1 brick or it is a pure replicate or pure disperse or pure arbiter volume. Change-Id: I55634f495a54e3c9909b1e1c716990b9ee9834a3 Signed-off-by: sayaleeraut <saraut@redhat.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/__init__.py')
0 files changed, 0 insertions, 0 deletions