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

Paxos requires all nodes for CAS

    XMLWordPrintableJSON

Details

    • Normal

    Description

      In C* 2.1,

      int requiredParticipants = participants + 1  / 2; // See CASSANDRA-833
      

      Will always return participants because of operator precedence. I am not sure just adding parentheses will fix the problem, though, as the original code differentiated between pending and natural endpoints.

       int requiredParticipants = pendingEndpoints.size() + 1 + naturalEndpoints.size() / 2; // See CASSANDRA-833
      

      Attachments

        Issue Links

          Activity

            People

              acoz Anthony Cozzie
              acoz Anthony Cozzie
              Anthony Cozzie
              Aleksey Yeschenko
              Philip Thompson Philip Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: