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

[XDCR] - OSO mode panic with throughSeqnoTracker

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.0.4
    • XDCR
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      A customer is seeing a panic stack as follows:

       
      2022-09-16T01:08:09.133+00:00 [INFO] UPR_STREAMREQ for vb 740 successful 
      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xaba3c6]
       
       
      goroutine 40148 [running]:
      github.com/couchbase/goxdcr/service_impl.(*OsoSessionsTracker).ShouldProcessAsOSO(0x0, 0x0, 0xc021876b00, 0x0)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/service_impl/through_seqno_tracker_service.go:357 +0x46
      github.com/couchbase/goxdcr/service_impl.(*OSOSeqnoTrackerMapType).ShouldProcessAsOSO(...)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/service_impl/through_seqno_tracker_service.go:268
      github.com/couchbase/goxdcr/service_impl.(*ThroughSeqnoTrackerSvc).shouldProcessAsOso(0xc01cd42c30, 0xc00edc0000, 0x0, 0x0, 0x0)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/service_impl/through_seqno_tracker_service.go:1722 +0x93
      github.com/couchbase/goxdcr/service_impl.(*ThroughSeqnoTrackerSvc).ProcessEvent(0xc01cd42c30, 0xc00edceaa0, 0xc021876f68, 0x1)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/service_impl/through_seqno_tracker_service.go:1020 +0x1476
      github.com/couchbase/goxdcr/component.(*AsyncComponentEventListenerImpl).start(0xc01e6d6a00)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/component/async_listener.go:74 +0x95
      created by github.com/couchbase/goxdcr/component.(*AsyncComponentEventListenerImpl).Start
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/component/async_listener.go:57 +0x5b
      

      Need to investigate and fix as appropriate

      Attachments

        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:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty