cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patricio Echague (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-3082) Operation with CL=EACH_QUORUM doesn't succeed when a replica is down (RF=3)
Date Fri, 26 Aug 2011 16:18:30 GMT
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
    Affects Versions: 0.8.4, 0.7.8
            Reporter: Patricio Echague
            Assignee: Patricio Echague
             Fix For: 0.7.9, 0.8.5, 1.0



{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

        

Mime
View raw message