diff options
author | Susant Palai <spalai@redhat.com> | 2016-07-21 18:17:21 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2016-07-28 05:46:30 -0700 |
commit | b8e8bfc7e4d3eaf76bb637221bc6392ec10ca54b (patch) | |
tree | 9fd37dd5874d173bcb4c166c7c5fb6245543ae65 /doc | |
parent | 7e00626b0dcd04b4f38d7cb1a3288ba6740ed9b6 (diff) |
dht/rebalance: allocate migrator thread pool dynamically
Problems: The maximum number of migratior threads created was static set
to "40". And the number of these threads get created in rebalance depends
on the number of cores user has. If the number of cores exceeds 40, a
crash or memory corruption can be seen.
Fix: Make the migratior thread pool dynamic.
Change-Id: Ifbdac8a1a396363dd75e2f6bcb454070cfdbf839
BUG: 1359711
Signed-off-by: Susant Palai <spalai@redhat.com>
Reviewed-on: http://review.gluster.org/15000
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions