[
https://issues.apache.org/jira/browse/GEODE-2690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15944226#comment-15944226
]
ASF subversion and git services commented on GEODE-2690:
--------------------------------------------------------
Commit 46f4194ab90912e9170bd36cda897efd40b677dd in geode's branch
refs/heads/develop from [~nnag]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=46f4194 ]
GEODE-2690: Submitting the jobs in chunks to the threadpool
* Per bucket flush operations are now chunked into groups of 10 and
then submitted to the thread pool.
* The next chuck of jobs is submitted to the thread pool only after the
first group had completed its task.
* This was to prevent a situation where multiple wait for flush calls
on a region with thousand of buckets will result in spawing a lot of threads.
* The operating system may not be able to handle the large number of
threads and throw an unable to create native thread exception.
This closes #430
> Use a different thread pool for flush operations
> ------------------------------------------------
>
> Key: GEODE-2690
> URL: https://issues.apache.org/jira/browse/GEODE-2690
> Project: Geode
> Issue Type: Bug
> Reporter: nabarun
> Assignee: nabarun
>
> WaitUntilParallelGatewaySenderFlushedCoordinator's waitUntilFlushed should
> use a thread pool with a limited number of thread so that the system doesn't
> create an exceptionally high number of threads while flushing buckets.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)