Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.2.5
-
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
- is a backport of
-
MB-60992 XDCR: deadlock in deletion of spec due to BackfillMgr did not start properly
- Resolved
For Gerrit Dashboard: MB-61210 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
207782,2 | MB-61210: deadlock in deletion of spec due to BackfillMgr did not start properly | neo | goxdcr | Status: MERGED | +2 | +1 |