Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.1.4, 4.1.2
-
None
-
Untriaged
-
Unknown
Description
After a stream has been marked as dead, a streamEnd message is added into the readyQ, after this point no other mutation/deletion/marker is to be added into the readyQ.
A race between closeStream/closeSlowStream and the active stream's nextCheckpointTask could cause this scenario, where mutations/deletions and a marker can get added to the readyQ for the stream, after a STREAM_END has been queued.
This is to avoid shipping unnecessary items after a stop request has been issued for a stream.
Attachments
There are no Sub-Tasks for this issue.
Gerrit Reviews
For Gerrit Dashboard: MB-18625 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
61196,2 | MB-18625: Do not queue mutations into readyQ after a STREAM_END | watson | ep-engine | Status: MERGED | +2 | +1 |
61329,2 | Merge remote-tracking branch 'couchbase/watson' into master | master | ep-engine | Status: MERGED | +2 | +1 |
68628,2 | [BP] MB-18625: Do not queue mutations into readyQ after a STREAM_END | 3.0.x | ep-engine | Status: ABANDONED | 0 | 0 |