[BP 6.0.2 MB-34417] - projector can crash due to race condition in feed cleanup

Description

The code introduced as part of following commits can cause projector to panic due to race condition on feed cleanup.

https://github.com/couchbase/indexing/commit/2e56e3d535dfaeb1b2615eca822f42c28e502e2d
https://github.com/couchbase/indexing/commit/c21d01188a5509208d89257af7fc578e45c12796

During cleanup, the genServer sets feed.conn=nil, while the doReceive can still try to access this.

As the above commits were backported to 5.5.4 and 6.0.1, the fix will also need to be backported.

Components

Affects versions

Fix versions

Labels

Environment

None

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

None

Release Notes Description

None

Activity

Show:

Mahesh Mandhare June 17, 2019 at 4:17 PM

Build 6.0.2-2409

I do not see any panics in performance runs for 6.0.2 build.

Ritam Sharma June 17, 2019 at 1:38 AM

- Can you please close the ticket today.

Mihir Kamdar June 7, 2019 at 4:18 AM

Functional run is clean on 6.0.2-2409 (RC2). If the perf run is also fine, can you pls close this bug ?

CB robot June 4, 2019 at 12:50 PM

Build couchbase-server-6.0.2-2408 contains indexing commit 92828d3 with commit message:
Avoid projector dcp_feed race condition during clean-up

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

Details

Assignee

Mahesh Mandhare

Reporter

Is this a Regression?

Yes

Triage

Untriaged

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 3, 2019 at 10:26 AM
Updated June 17, 2019 at 4:17 PM
Resolved June 4, 2019 at 2:42 PM
Instabug
Loading...