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

[BP 7.2.5] XDCR: deadlock in deletion of spec due to BackfillMgr did not start properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.2.5
    • 7.2.5
    • XDCR
    • Untriaged
    • 0
    • No

    Description

      The Backfill Manager does not start properly at https://src.couchbase.org/source/xref/7.1.4/goproj/src/github.com/couchbase/goxdcr/replication_manager/replication_manager.go#508

      There is no error checking here and hence errors go unnoticed. This may cause "runRetryMonitor" goroutine not to start if the "Start()" fails and bails out much before. See https://src.couchbase.org/source/xref/7.1.4/goproj/src/github.com/couchbase/goxdcr/backfill_manager/backfill_manager.go#308

      The runRetryMonitor consumes from the channel but its non running can cause consumers to wait indefinitely, thereby cause a cascading chain of waits and deadlock.

      Attachments

        Issue Links

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

          Activity

            People

              ayush.nayyar Ayush Nayyar
              sudeep.jathar Sudeep Jathar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty