[
https://issues.apache.org/jira/browse/CASSANDRA-3082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092062#comment-13092062
]
Hudson commented on CASSANDRA-3082:
-----------------------------------
Integrated in Cassandra-0.7 #545 (See
[https://builds.apache.org/job/Cassandra-0.7/545/])
fix UnavailableException with writes at CL.EACH_QUORM
patch by Patricio Echague; reviewed by jbellis for CASSANDRA-3082
jbellis :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1162255
Files :
* /cassandra/branches/cassandra-0.7/CHANGES.txt
*
/cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/service/DatacenterSyncWriteResponseHandler.java
> Operation with CL=EACH_QUORUM doesn't succeed when a replica is down (RF=3)
> ---------------------------------------------------------------------------
>
> Key: CASSANDRA-3082
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3082
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.7.0
> Reporter: Patricio Echague
> Assignee: Patricio Echague
> Priority: Minor
> Labels: consistency
> Fix For: 0.7.9, 0.8.5
>
> Attachments: CASSANDRA-0.7-3084.txt
>
>
> {code} DatacenterSyncWriteResponseHandler#assureSufficientLiveNodes()
> ...
> ...
> // Throw exception if any of the DC doesn't have livenodes to accept
> write.
> for (String dc: strategy.getDatacenters())
> {
> if (dcEndpoints.get(dc).get() != responses.get(dc).get())
> throw new UnavailableException();
> }
> {code}
> should be:
>
> {code}
> if (dcEndpoints.get(dc).get() < responses.get(dc).get())
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira