MB-17766: Refactor nextCheckpointItemTask to allow testing 64/59664/4
authorDave Rigby <daver@couchbase.com>
Tue, 9 Feb 2016 13:33:38 +0000 (13:33 +0000)
committerChiyoung Seo <chiyoung@couchbase.com>
Wed, 10 Feb 2016 17:47:14 +0000 (17:47 +0000)
commite3f485585261e6998f1bd961f4089547e0818115
tree027c5b7b2d38ded887b40dc27311aa522bfacb48
parent0da7d42b9265bf2774844c84f7410b42625e4fd8
MB-17766: Refactor nextCheckpointItemTask to allow testing

Split nextCheckpointItemTask() into two inner (protected) functions,
to allow testing of the fix for MB-17766.

Change-Id: I9d441d873cf7f727f90a966d4dda03043c7f6480
Reviewed-on: http://review.couchbase.org/59664
Well-Formed: buildbot <build@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
src/dcp-stream.cc
src/dcp-stream.h