diff options
author | Mohit Agrawal <moagrawal@redhat.com> | 2019-03-29 11:48:32 +0530 |
---|---|---|
committer | Mohit Agrawal <moagrawal@redhat.com> | 2019-04-15 20:50:50 +0530 |
commit | 26a19d9da3ab5604db02d4ca02ce868fb57193a4 (patch) | |
tree | a82d9ed8aa17b1b86ecab4b2f945f99f521d6bc1 /.mailmap | |
parent | f316c8b797283818bd800569771870a4b9bf1310 (diff) |
glusterd: Optimize glusterd handshaking code path
Problem: At the time of handshaking glusterd populate volume
data in a dictionary.While no. of volumes are configured
more than 1500 glusterd takes more than 10 min to generated
the data.Due to taking more time rpc request times out and
rpc start bailing of call frames.
Solution: To optimize the code done below changes
1) Spawn multiple threads to populate volumes data in bulk
in separate dictionary and introduce an option
glusterd.brick-dict-thread-count to configure no. of threads
to populate volume data.
2) Populate tier data only while volume type is tier
3) Compare snap data only while snap_count is non zero
Fixes: bz#1699339
Change-Id: I38dc71970c049217f9d1a06fc0aaf4c26eab18f5
Signed-off-by: Mohit Agrawal <moagrawal@redhat.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions