summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/heal_ops.py
diff options
context:
space:
mode:
authorPranav <prprakas@redhat.com>2020-06-09 12:04:58 +0530
committerArthy Loganathan <aloganat@redhat.com>2020-06-10 04:24:17 +0000
commitf60a12bda34d206c1dca509a3a44d26a85f87239 (patch)
tree9bbdd8f52f87d5dea7ac85325ecc7febc0517052 /glustolibs-gluster/glustolibs/gluster/heal_ops.py
parent4d4559b77e83397f320a37164c9c2277a36db36a (diff)
[Libfix] Fix find_specific_hashed method
Problem: There are scenarios where multiple files are to be renamed to hash to a particular subvol. The existing method returns the same name as the loop always starts from 1. Fix: Adding an optional argument, existing_names which contains names already hashed to the subvol. An additional check is added to ensure the name found is not already used Change-Id: I453ee290c8462322194cebb42c40e8fbc7c373ed Signed-off-by: Pranav <prprakas@redhat.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/heal_ops.py')
0 files changed, 0 insertions, 0 deletions