MB-20852 [9/N]: Explicilty handle all queue_op uses 61/68161/8
authorDave Rigby <daver@couchbase.com>
Thu, 29 Sep 2016 14:05:14 +0000 (15:05 +0100)
committerDave Rigby <daver@couchbase.com>
Mon, 31 Oct 2016 16:18:20 +0000 (16:18 +0000)
commitba0537284d01734016f9c18cddf564b042180837
treeb31bf10f676ba0ef84f6ba1379a11979b9d5d5b2
parentddbdb57b0f9910260c9784f90509b2a42cd256ce
MB-20852 [9/N]: Explicilty handle all queue_op uses

Remove instances of switch statements where we don't check all
enumerations in queue_op, and instead handle them all. Makes it easier
/ safer to add any new queue_op types (and ensure they are handled
everywhere).

Change-Id: I9406c6d327d572268afa4d1830d690ee8ec153a1
Reviewed-on: http://review.couchbase.org/68161
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: buildbot <build@couchbase.com>
src/checkpoint.cc
src/item.h
src/tapconnection.cc
src/tapconnection.h