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

Repair fuzz tests fail with paxos_variant: v2

    XMLWordPrintableJSON

Details

    Description

      Adding paxos_variant: v2 to the test yaml causes all fuzz repair tests to fail with

      java.lang.NullPointerException: null
      	at org.apache.cassandra.gms.EndpointStateSerializer.serializedSize(EndpointState.java:337)
      	at org.apache.cassandra.gms.EndpointStateSerializer.serializedSize(EndpointState.java:300)
      	at org.apache.cassandra.service.paxos.cleanup.PaxosStartPrepareCleanup$RequestSerializer.serializedSize(PaxosStartPrepareCleanup.java:176)
      	at org.apache.cassandra.service.paxos.cleanup.PaxosStartPrepareCleanup$RequestSerializer.serializedSize(PaxosStartPrepareCleanup.java:147)
      	at org.apache.cassandra.net.Message$Serializer.payloadSize(Message.java:1067)
      	at org.apache.cassandra.net.Message.payloadSize(Message.java:1114)
      	at org.apache.cassandra.net.Message$Serializer.serializedSize(Message.java:750)
      	at org.apache.cassandra.net.Message.serializedSize(Message.java:1094)
      ...
      

      This happens for all three options of paxos_state_purging and both with and without storage_compatibility_mode: NONE.

      Tests still fail if PaxosStartPrepareCleanup is changed to use EndpointState.nullableSerializer.

      Attachments

        Issue Links

          Activity

            People

              dcapwell David Capwell
              blambov Branimir Lambov
              David Capwell
              Blake Eggleston, Ekaterina Dimitrova
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 20m
                  3h 20m