Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Ashwin Govindarajulu
Ashwin GovindarajuluReporter
Daniel Owen
Daniel OwenIs this a Regression?
Yes
Triage
Triaged
Story Points
1
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty
Sentry
Sentry
Zendesk Support
Zendesk Support
Created September 1, 2020 at 10:58 AM
Updated October 20, 2021 at 4:21 PM
Resolved September 28, 2020 at 12:35 PM
Problem
As described in https://couchbasecloud.atlassian.net/browse/CBSE-8828#icft=CBSE-8828, for a replica DCP stream. If a previous item that uses XATTRs is to be deleted, however it is not resident - then we must perform a bgfetch - see https://couchbasecloud.atlassian.net/browse/MB-36087#icft=MB-36087. When the bgfetch is complete we replay PassiveStream::messageReceived. However this time it fails because the last seqno now equals the sequence number of the deletion and so it is discarded.
Suggested Possible Solution
only set the last seqno to the seqno of the message just received, once the message has been completed or
If an EWOULD_BLOCK occurs reserve the setting of the last seqno so the message can be received again.