[BP 7.0.2] - XDCR - throughSeqnoTracker bg scanner may run for a long time

Description

With backfill pipeline, throughSeqnoTrackerSvc implemented a bg scanner to go scan for throughSeqno to make sure the throughSeqno has been processed before stopping the pipeline.

However, if the pipeline is stopped/restarted before this process finishes, the bg scanner will keep not know and will keep running up to a maximum of 5 * 300 sec == 25 minutes.

If a lot of backfill pipeline restart happens, then there will be a lot of these stray bg processes running periodically eating up valuable resources.

Components

Affects versions

Fix versions

Labels

Environment

None

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Activity

CB robot August 19, 2021 at 5:30 PM

Build couchbase-server-7.0.2-6544 contains goxdcr commit 6151475 with commit message:
- stop throughSeqnoTracker bg scanning process when backfill pipeline is stopped

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Is this a Regression?

No

Triage

Untriaged

Story Points

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created August 11, 2021 at 10:05 PM
Updated September 16, 2021 at 3:46 PM
Resolved August 19, 2021 at 4:26 PM
Instabug