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

Equality check for Paxos.Electorate should not depend on collection types

    XMLWordPrintableJSON

Details

    Description

      In fixing CASSANDRA-19904 on trunk, it became apparent that the comparison of local and remote electorates in Paxos::verifyElectorate does not successfully identify instances which contain the same natural and pending replicas if they are created with different implementations of Collection<InetAddressAndPort>. This causes the gossip state to be unnecessarily included in replica responses during paxos rounds, in turn thir results in unnecessary work being performed on the coordinator. This affects 4.1 and 5.0 versions, so we should backport the relevant part of the CASSANDRA-19904 patch.

      Attachments

        1. ci_summary.html
          16 kB
          Sam Tunnicliffe

        Issue Links

          Activity

            People

              samt Sam Tunnicliffe
              samt Sam Tunnicliffe
              Sam Tunnicliffe
              Marcus Eriksson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: