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

        

Reply via email to