MB-20852 [14/N]: Improve debug/logging in CheckpointManager 21/69021/8
authorDave Rigby <daver@couchbase.com>
Thu, 20 Oct 2016 13:58:01 +0000 (14:58 +0100)
committerDave Rigby <daver@couchbase.com>
Tue, 1 Nov 2016 07:56:54 +0000 (07:56 +0000)
commitbed33dbde2a2acc56ebadac39b61c53c1ddbdcb2
tree3bbf86e24db7aaf74eb7554f9191853ccad77309
parent941c24b6fb201686a445503c566c8fc9a865a5b7
MB-20852 [14/N]: Improve debug/logging in CheckpointManager

Include information on the CheckpointCursors associated with a
CheckpointManager by adding a operator<< for CheckpointCursor. Add a
dump() method to CheckpointManager to assist in debugging their
contents (e.g. from gdb).

Also add some additional CheckpointManager/CouchKVStore logging.

Change-Id: I8c3de5b5ec0e8e297db8530dee87ac0edd869a91
Reviewed-on: http://review.couchbase.org/69021
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: buildbot <build@couchbase.com>
src/checkpoint.cc
src/checkpoint.h
src/couch-kvstore/couch-kvstore.cc