[BP 7.2.1] - XDCR - bucket topology service concurrent map iteration and map write

Description

Issue

Resolution

The bucket topology service sent a concurrent map iteration and map write panic to XDCR which caused a fatal error.

Validation has been improved to prevent the panic from happening.

 

In customer situations, we're seeing the following concurrent map read and map write panic. Unfortunately, we didn't see this issue during 7.1.X testing.

Note that the panics are coming from BucketTopologyService, which was added in 7.1.0, as .

Similarly:

And a third signature:

Components

Affects versions

Fix versions

Labels

Environment

None

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

None

Release Notes Description

None

Activity

Show:

CB robot June 16, 2023 at 12:36 AM

Build couchbase-server-7.2.1-5797 contains goxdcr commit dc94f59 with commit message:
: vagrant test case

CB robot June 16, 2023 at 12:36 AM

Build couchbase-server-7.2.1-5797 contains goxdcr commit 34ba33e with commit message:
: vagrant test case improvements for validation

CB robot June 16, 2023 at 12:36 AM

Build couchbase-server-7.2.1-5797 contains goxdcr commit 42ec94f with commit message:
: injection config for delaying dcpStatsLegacy

Neil Huang June 15, 2023 at 10:15 PM

The backport for 7.1.4 was rolled forward to 7.2.0, which contains this.

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

Details

Assignee

Reporter

Is this a Regression?

Yes

Triage

Untriaged

Story Points

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 10, 2023 at 9:38 PM
Updated February 6, 2025 at 6:42 PM
Resolved June 15, 2023 at 10:17 PM
Instabug