Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
1
Description
Scenario:
- Client receives seqno 1.
- Client receives snapshot marker for snapshot [2-2]
- Channel disconnects (maybe Couchbase node is restarted) and the client attempts to auto-reconnect.
- Reconnect fails, because the client tries to create a stream offset with seqno 1, which is not within the snapshot [2-2]
If this happens, the DCP client stops streaming from the affected partition.
Possible fix is to track pending snapshots separately, and only promote them to "current" after the client's seqno advances to within the pending snapshot.