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

Fix availability validation for LOCAL_ONE CL

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 1.2.17, 2.0.9, 2.1 rc1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      ConsistencyLevel#assureSufficientLiveNodes() is currently broken wrt LOCAL_ONE (unlike ConsistencyLevel#isSufficientLiveNodes()). Because of this it's possible for a read request to go to a node in a non-local DC if there are no live replicas in the local DC (writes are also affected).

        Attachments

        1. 7319.txt
          0.8 kB
          Aleksey Yeschenko

          Activity

            People

            • Assignee:
              aleksey Aleksey Yeschenko
              Reporter:
              aleksey Aleksey Yeschenko
              Authors:
              Aleksey Yeschenko
              Reviewers:
              Sylvain Lebresne
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: