summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/brickmux_libs.py
diff options
context:
space:
mode:
authorkshithijiyer <kshithij.ki@gmail.com>2020-04-21 15:22:39 +0530
committerBala Konda Reddy M <bala12352@gmail.com>2020-04-21 13:03:21 +0000
commita493ce9eb3df82e48d6bbb7738ae3ae8aa26242c (patch)
treec4fdb91e1f3db11ac30a62fcde23136ed94878c8 /glustolibs-gluster/glustolibs/gluster/brickmux_libs.py
parent5d9a0ab8e46475af390272a0916e9f075153ca4b (diff)
[Libfix] Add brick sharing spt to replace_brick_from_volume()
Problem: `replace_brick_from_volume()` function doesn't support brick shareing which creates a problem as when we try to perform replace brick with a large number of volumes it is unable to get bricks and hence failes. Solution: Adding code for boolean kawrg for multi_vol and using form_bricks_for_multivol() or form_bricks_list() according to the value of multi_vol. The default value of multi_vol is false which would only use form_bricks_list() as done without the changes. Blocks: This patch currently blocks the below mentioned patch: https://review.gluster.org/#/c/glusto-tests/+/19483/ Change-Id: I842a4ebea81e53e694b5b194294f1b941f47d380 Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/brickmux_libs.py')
0 files changed, 0 insertions, 0 deletions