[ISSUE] (TEPHRA-115) Deadlock in PooledClientProvider

2 views
Skip to first unread message

Remco Beckers (JIRA)

unread,
Jul 30, 2015, 2:02:22 AM7/30/15
to tephr...@googlegroups.com
Remco Beckers created an issue
 
Tephra / Bug TEPHRA-115
Deadlock in PooledClientProvider
Issue Type: Bug Bug
Affects Versions: 0.6.0
Assignee: Gary Helmling
Components: client
Created: 29/Jul/15 11:02 PM
Priority: Major Major
Reporter: Remco Beckers

When more threads then the size of the client pool try to get a client in parallel this either results in a deadlock (just try to run the provided test without the fixes) or the ElasticPool's internal queue overflows when one client too much is returned to the pool (with only the fix in the AbstractClientProvider).

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.1.5#6160-sha1:a61a0fc)
Atlassian logo

Remco Beckers (JIRA)

unread,
Aug 3, 2015, 6:30:22 AM8/3/15
to tephr...@googlegroups.com
Remco Beckers commented on an issue
 
Re: Deadlock in PooledClientProvider

A pull request with a fix is available: https://github.com/caskdata/tephra/pull/65

When more threads then the size of the client pool try to get a client in parallel this either results in a deadlock (just try to run the provided test without the fixes) or the ElasticPool's internal queue overflows when one client too much is returned to the pool (with only the fix in the AbstractClientProvider).

Andreas Neumann (JIRA)

unread,
Aug 5, 2015, 10:09:22 PM8/5/15
to tephr...@googlegroups.com
Andreas Neumann resolved an issue as Fixed
Change By: Andreas Neumann
Status: Open Resolved
Resolution: Fixed

Andreas Neumann (JIRA)

unread,
Aug 5, 2015, 10:09:23 PM8/5/15
to tephr...@googlegroups.com
Andreas Neumann commented on an issue
 
Re: Deadlock in PooledClientProvider

Thanks for the contribution, Remco.
We merged your PR and it will be in the next Tephra release.

When more threads then the size of the client pool try to get a client in parallel this either results in a deadlock (just try to run the provided test without the fixes) or the ElasticPool's internal queue overflows when one client too much is returned to the pool (with only the fix in the AbstractClientProvider).

Remco Beckers (JIRA)

unread,
Aug 11, 2015, 5:33:22 AM8/11/15
to tephr...@googlegroups.com
Remco Beckers commented on an issue
 
Re: Deadlock in PooledClientProvider

Great!

Reply all
Reply to author
Forward
0 new messages