Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3082

Operation with CL=EACH_QUORUM doesn't succeed when a replica is down (RF=3)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7.9, 0.8.5
    • None
    • Low

    Description

        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();
              }
      

      should be:

            if (dcEndpoints.get(dc).get() < responses.get(dc).get())
      

      Attachments

        1. CASSANDRA-0.7-3084.txt
          0.8 kB
          Patricio Echague

        Activity

          People

            patricioe Patricio Echague
            patricioe Patricio Echague
            Patricio Echague
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: