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

Fix flaky dtest - org.apache.cassandra.distributed.test.SchemaTest.readRepair

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 4.1-beta1, 4.1.x
    • Cluster/Schema
    • None
    • Correctness - Test Failure
    • Normal
    • Normal
    • DTest
    • All
    • None

    Description

      org.apache.cassandra.distributed.shared.ShutdownException: Uncaught exceptions were thrown during test
      	at org.apache.cassandra.distributed.impl.AbstractCluster.checkAndResetUncaughtExceptions(AbstractCluster.java:1056)
      	at org.apache.cassandra.distributed.impl.AbstractCluster.close(AbstractCluster.java:1042)
      	at org.apache.cassandra.distributed.test.SchemaTest.readRepair(SchemaTest.java:46)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	Suppressed: java.lang.RuntimeException: java.lang.AssertionError
      		at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:108)
      		at org.apache.cassandra.distributed.impl.Instance.lambda$receiveMessageRunnable$6(Instance.java:495)
      		at org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)
      		at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:120)
      		at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      		at java.base/java.lang.Thread.run(Thread.java:829)
      	Caused by: java.lang.AssertionError
      		at org.apache.cassandra.locator.TokenMetadata.firstTokenIndex(TokenMetadata.java:1171)
      		at org.apache.cassandra.locator.TokenMetadata.firstToken(TokenMetadata.java:1185)
      		at org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicas(AbstractReplicationStrategy.java:95)
      		at org.apache.cassandra.locator.AbstractReplicationStrategy.getLocalReplicaFor(AbstractReplicationStrategy.java:111)
      		at org.apache.cassandra.db.ReadCommandVerbHandler.validateTransientStatus(ReadCommandVerbHandler.java:108)
      		at org.apache.cassandra.db.ReadCommandVerbHandler.doVerb(ReadCommandVerbHandler.java:50)
      		at org.apache.cassandra.net.InboundSink.lambda$new$0(InboundSink.java:78)
      		at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:97)
      

      https://ci-cassandra.apache.org/job/Cassandra-4.1/28/testReport/org.apache.cassandra.distributed.test/SchemaTest/readRepair/

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brandon.williams Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: