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

When jvm-dtest is shutting down an instance TCM retries block the shutdown causing the test to fail

    XMLWordPrintableJSON

Details

    Description

      org.apache.cassandra.distributed.test.log.RequestCurrentEpochTest#testRequestingPeerWatermarks

      java.lang.RuntimeException: java.util.concurrent.TimeoutException
      	 org.apache.cassandra.utils.Throwables.maybeFail(Throwables.java:79)
      	 org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:540)
      	 org.apache.cassandra.distributed.impl.AbstractCluster.close(AbstractCluster.java:1098)
      	 org.apache.cassandra.distributed.test.log.RequestCurrentEpochTest.testRequestingPeerWatermarks(RequestCurrentEpochTest.java:77)
      	 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	 java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) Caused by: java.util.concurrent.TimeoutException
      	 org.apache.cassandra.utils.concurrent.AbstractFuture.get(AbstractFuture.java:253)
      	 org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:532) Suppressed: java.util.concurrent.TimeoutException
      

      In debugger I found the blocked future and it was src/java/org/apache/cassandra/tcm/EpochAwareDebounce.java waiting on src/java/org/apache/cassandra/tcm/RemoteProcessor.java retries

      Attachments

        1. ci_summary.html
          10 kB
          Sam Tunnicliffe
        2. result_details.tar.gz
          3.64 MB
          Sam Tunnicliffe

        Activity

          People

            samt Sam Tunnicliffe
            dcapwell David Capwell
            Sam Tunnicliffe
            Alex Petrov, Blake Eggleston, Marcus Eriksson, Sam Tunnicliffe
            Votes:
            0 Vote for this issue
            Watchers:
            4 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 - 10m
                10m