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

XDCR - race condition in DCP (2)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 7.1.0
    • 7.1.0
    • XDCR
    • Untriaged
    • 1
    • Unknown

    Description

      ==================
      WARNING: DATA RACE
      Read at 0x00c000b91218 by goroutine 236:
        github.com/couchbase/gomemcached/client.(*UprFeed).GetUprEventCh()
            /Users/neil.huang/source/couchbase/goproj/src/github.com/couchbase/gomemcached/client/upr_feed.go:733 +0x3e
        github.com/couchbase/goxdcr/parts.(*DcpNozzle).getDcpDataChanLen()
            /Users/neil.huang/source/couchbase/goproj/src/github.com/couchbase/goxdcr/parts/dcp_nozzle.go:1902 +0x2a5
        github.com/couchbase/goxdcr/parts.(*DcpNozzle).collectDcpDataChanLen()
            /Users/neil.huang/source/couchbase/goproj/src/github.com/couchbase/goxdcr/parts/dcp_nozzle.go:1891 +0x2d6
       
      Previous write at 0x00c000b91218 by goroutine 153:
        github.com/couchbase/gomemcached/client.(*UprFeed).StartFeedWithConfig()
            /Users/neil.huang/source/couchbase/goproj/src/github.com/couchbase/gomemcached/client/upr_feed.go:772 +0x6b
        github.com/couchbase/goxdcr/parts.(*DcpNozzle).Start()
            /Users/neil.huang/source/couchbase/goproj/src/github.com/couchbase/goxdcr/parts/dcp_nozzle.go:769 +0x989
        github.com/couchbase/goxdcr/pipeline.(*GenericPipeline).startPart()
            /Users/neil.huang/source/couchbase/goproj/src/github.com/couchbase/goxdcr/pipeline/generic_pipeline.go:229 +0x301
        github.com/couchbase/goxdcr/pipeline.(*GenericPipeline).startPartsWithTimeout.func1.1()
            /Users/neil.huang/source/couchbase/goproj/src/github.com/couchbase/goxdcr/pipeline/generic_pipeline.go:149 +0x13a
       
      Goroutine 236 (running) created at:
        github.com/couchbase/goxdcr/parts.(*DcpNozzle).Start()
            /Users/neil.huang/source/couchbase/goproj/src/github.com/couchbase/goxdcr/parts/dcp_nozzle.go:765 +0x56b
        github.com/couchbase/goxdcr/pipeline.(*GenericPipeline).startPart()
            /Users/neil.huang/source/couchbase/goproj/src/github.com/couchbase/goxdcr/pipeline/generic_pipeline.go:229 +0x301
        github.com/couchbase/goxdcr/pipeline.(*GenericPipeline).startPartsWithTimeout.func1.1()
            /Users/neil.huang/source/couchbase/goproj/src/github.com/couchbase/goxdcr/pipeline/generic_pipeline.go:149 +0x13a
      ==================
       
      
      

      Attachments

        For Gerrit Dashboard: MB-49115
        # Subject Branch Project Status CR V

        Activity

          Build couchbase-server-7.1.0-1779 contains goxdcr commit 3f6f6cd with commit message:
          MB-49115: race condition while starting dcp nozzle

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1779 contains goxdcr commit 3f6f6cd with commit message: MB-49115 : race condition while starting dcp nozzle

          People

            sudeep.jathar Sudeep Jathar
            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