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

XDCR - async listener may not stop properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.1.0
    • XDCR
    • None
    • Untriaged
    • 1
    • No

    Description

      Looking at the logs from MB-48672, we see an extraordinary number of async listeners goroutines that did not stop properly:

      goroutine profile: total 8789
      4278 @ 0x43c9a5 0x44c88f 0x94e2b1 0x471981
      #       0x94e2b0        github.com/couchbase/goxdcr/component.(*AsyncComponentEventListenerImpl).start+0x250    /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/component/async_listener.go:68
       
      628 @ 0x43c9a5 0x44c88f 0x751ab4 0x471981
      #       0x751ab3        github.com/couchbase/gomemcached/client.(*UprFeed).sendCommands+0xf3    /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/gomemcached/client/upr_feed.go:340
       
      433 @ 0x43c9a5 0x44c88f 0x98057f 0x471981
      #       0x98057e        github.com/couchbase/goxdcr/parts.(*XmemNozzle).processData_sendbatch+0x1fe     /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/parts/xmem_nozzle.go:1018
       
      433 @ 0x43c9a5 0x44c88f 0x990736 0x471981
      #       0x990735        github.com/couchbase/goxdcr/parts.(*XmemNozzle).receiveResponse+0xf5    /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/parts/xmem_nozzle.go:2577
       
      433 @ 0x43c9a5 0x44c88f 0x993650 0x471981
      #       0x99364f        github.com/couchbase/goxdcr/parts.(*XmemNozzle).selfMonitor+0x20f       /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/parts/xmem_nozzle.go:2860
       
      431 @ 0x43c9a5 0x44c88f 0x99488c 0x471981
      #       0x99488b        github.com/couchbase/goxdcr/parts.(*XmemNozzle).checkAndRepairBufferMonitor+0x26b       /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/parts/xmem_nozzle.go:2933
      

      Attachments

        Issue Links

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

          Activity

            People

              neil.huang Neil Huang
              neil.huang Neil Huang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty