MB-19673: Log the actual last seqno sent before closing the stream. 57/64157/5
authorManu Dhundi <manu@couchbase.com>
Mon, 16 May 2016 23:33:09 +0000 (16:33 -0700)
committerDave Rigby <daver@couchbase.com>
Thu, 19 May 2016 07:56:15 +0000 (07:56 +0000)
commit2c30a275aa14469b63bb952d116fc18481a22f02
treeafade890ca0c1fffb3ade8ebcd89a3ccd6559ecd
parentc99b61d1795407f042e66d44c3375cc834c901e4
MB-19673: Log the actual last seqno sent before closing the stream.

(Note: backport of MB-19627 to 3.0.x)

When a DCP stream closes, we log the last sent seqno at the time when
stream transitions to dead state. However, we further stream items in
the readyQ from  dead state as well. This commit adds the correct
last seqno sent.

Change-Id: I0f0bfd199544dc5bf20e0ca97b3c5ea8d207c6a8
Reviewed-on: http://review.couchbase.org/64157
Well-Formed: buildbot <build@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Manu Dhundi <manu@couchbase.com>
src/dcp-stream.cc