diff options
author | Mohit Agrawal <moagrawal@redhat.com> | 2019-04-29 18:48:36 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2019-04-30 13:10:36 +0000 |
commit | ac70f66c5805e10b3a1072bd467918730c0aeeb4 (patch) | |
tree | e7df7e7eb40a0ec964730c828dc6a6a3b5726b47 /tests/basic | |
parent | cfd838c27cc88acd431549f2b8ed515c9ce3e55f (diff) |
glusterd: Fix bulkvoldict thread logic in brick multiplexing
Problem: Currently glusterd spawn bulkvoldict in brick_mux
environment while no. of volumes are less than configured
glusterd.vol_count_per_thread
Solution: Correct the logic to spawn bulkvoldict thread
1) Calculate endindex only while total thread is non zero
2) Update end index correctly to pass index for bulkvoldict
thread
Fixes: bz#1704252
Change-Id: I1def847fbdd6a605e7687bfc4e42b706bf0eb70b
Signed-off-by: Mohit Agrawal <moagrawal@redhat.com>
Diffstat (limited to 'tests/basic')
0 files changed, 0 insertions, 0 deletions