You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mikhail Mazursky (JIRA)" <ji...@apache.org> on 2013/06/23 09:57:19 UTC
[jira] [Updated] (CASSANDRA-5690) Fix AsyncOneResponse
[ https://issues.apache.org/jira/browse/CASSANDRA-5690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikhail Mazursky updated CASSANDRA-5690:
----------------------------------------
Attachment: trunk-5690.patch
> Fix AsyncOneResponse
> --------------------
>
> Key: CASSANDRA-5690
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5690
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Mikhail Mazursky
> Priority: Minor
> Attachments: trunk-5690.patch
>
>
> Current implementation of AsyncOneResponse suffers from two problems:
> 1. Spurious wakeup will lead to TimeoutException being thrown because awaiting for condition is not done in loop;
> 2. condition.signal() is used where .signalAll() should be used - this leads to only one thread blocked on .get() to be unblocked. Other threads will stay blocked forever.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira