Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-46270

[CX] test[ClusterSharedExecutionIT 14: feeds: flush-bucket] hang on reconnect post flush

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Yes
    • CX Sprint 247

    Description

      Observed on Jenkins.

      test[ClusterSharedExecutionIT 14: feeds: flush-bucket] fails due to not ingesting imported items immediately after a flush. The logs show that the connector is stuck during bootstrap awaiting async starting state.

      , "SAO:JID:0.162:TAID:TID:ANID:ODID:4:0:5:0:(Local/gbook_users)[5]:BO" daemon prio=5 Id=93 WAITING on java.util.concurrent.CountDownLatch$Sync@cc6ae4f
      	at java.base@11.0.9.1/jdk.internal.misc.Unsafe.park(Native Method)
      	-  waiting on java.util.concurrent.CountDownLatch$Sync@cc6ae4f
      	at java.base@11.0.9.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      	at java.base@11.0.9.1/java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:885)
      	at java.base@11.0.9.1/java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1039)
      	at java.base@11.0.9.1/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1345)
      	at java.base@11.0.9.1/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:232)
      	at app//com.couchbase.analytics.adapter.CouchbaseConnector.streamShadowState(CouchbaseConnector.java:644)
      	at app//com.couchbase.analytics.adapter.CouchbaseConnector.establish(CouchbaseConnector.java:250)
      

      The aggregated shadow state was computed, but is never being sent to the connector instances:

      2021-05-11T20:34:14.607-07:00 INFO CBAS.adapter.CouchbaseConnectorFactory [gbook_users (local) aggregated shadow state calculator] got starting state calculated for [Default.gbook_users] (listener {"class":"BucketEventsListener","entityId":"Default/Local/gbook_users","state":"STARTING"})
      

      The bucket listener does subsequently enter a RUNNING state:

      2021-05-11T20:34:14.651-07:00 DEBU CBAS.active.ActiveEntityEventsListener [ActiveNotificationHandler] State of Default/Local/gbook_usersis being set to RUNNING from STARTING
      

      but no indication that any generic message was attempted to be sent.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            michael.blow Michael Blow
            michael.blow Michael Blow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty