Bug 1704252 - Creation of bulkvoldict thread logic is not correct while brick_mux is enabled for single volume
Summary: Creation of bulkvoldict thread logic is not correct while brick_mux is enable...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mohit Agrawal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1704769
TreeView+ depends on / blocked
 
Reported: 2019-04-29 12:32 UTC by Mohit Agrawal
Modified: 2019-04-30 13:13 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
: 1704769 (view as bug list)
Environment:
Last Closed: 2019-04-30 13:11:17 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22647 0 None Merged glusterd: Fix bulkvoldict thread logic in brick multiplexing 2019-04-30 13:11:15 UTC

Description Mohit Agrawal 2019-04-29 12:32:43 UTC
Description of problem:
Ideally, glusterd should spawn bulvoldict thread only while no. of volumes are
high more than 100 and brick_mux is enabled.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Setup 1x3 cluster environment and enable brick_mux
2.Stop/start glusterd on one node
3. Check the messages in glusterd.log, it is showing below logs
  Create thread 1 to populate dict data for volume start index is 1 end index 
  is 2
[[glusterd-utils.c:3559:glusterd_add_volumes_to_export_dict] 0-management: Finished dictionary popluation in all threads

Actual results:
dict thread is creating even no. of volume is 1

Expected results:
No need to create dict thread if volume count is lower

Additional info:

Comment 1 Worker Ant 2019-04-30 13:11:17 UTC
REVIEW: https://review.gluster.org/22647 (glusterd: Fix bulkvoldict thread logic in brick multiplexing) merged (#6) on master by Atin Mukherjee


Note You need to log in before you can comment on or make changes to this bug.