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

XDCR - Deadlock on acquiring the lock when Backfill pipeline is stopping

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • Morpheus
    • 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.1.0, 7.1.1, 7.1.2, 7.2.0, 7.1.3, 7.2.1
    • None
    • None
    • Triaged
    • 0
    • Unknown

    Description

      The main symptom in the CBSE ticket is that on a node pipeline was not running until it was restarted. 

      The presence of a new replication was not processed as it was stuck in the code path which executes the callbacks:

       

      29 @ 0x43d376 0x44ddd3 0x44ddad 0x468e05 0x483485 0x97c8ee 0x97c8ca 0x97c695 0x97c696 0xcfb27f 0x46cde1 #       0x468e04        sync.runtime_SemacquireMutex+0x24                                                                       /home/couchbase/.cbdepscache/expl oded/x86_64/go-1.18.7/go/src/runtime/sema.go:71 #       0x483484        sync.(*Mutex).lockSlow+0x164                                                                            /home/couchbase/.cbdepscache/expl oded/x86_64/go-1.18.7/go/src/sync/mutex.go:162 #       0x97c8ed        sync.(*Mutex).Lock+0x8d                                                                                 /home/couchbase/.cbdepscache/expl oded/x86_64/go-1.18.7/go/src/sync/mutex.go:81 #       0x97c8c9        github.com/couchbase/goxdcr/metadata_svc.(*ReplicationSpecService).updateCacheInternal+0x69             /home/couchbase/jenkins/workspace /couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/metadata_svc/replication_spec_service.go:1170 #       0x97c694        github.com/couchbase/goxdcr/metadata_svc.(*ReplicationSpecService).updateCache+0x214                    /home/couchbase/jenkins/workspace /couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/metadata_svc/replication_spec_service.go:1165 #       0x97c695        github.com/couchbase/goxdcr/metadata_svc.(*ReplicationSpecService).ReplicationSpecServiceCallback+0x215 /home/couchbase/jenkins/workspace /couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/metadata_svc/replication_spec_service.go:1128 #       0xcfb27e        github.com/couchbase/goxdcr/replication_manager.(*MetakvChangeListener).metakvCallback_async+0x5e       /home/couchbase/jenkins/workspace /couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/replication_manager/metakv_change_listener.go:97  

      Attachments

        Issue Links

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

          Activity

            People

              sudeep.jathar Sudeep Jathar
              sudeep.jathar Sudeep Jathar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty