MB-18476: Handle write failures more gracefully in the mutation log 16/61116/11
authorSriram Ganesan <sriram@couchbase.com>
Tue, 8 Mar 2016 22:08:50 +0000 (14:08 -0800)
committerChiyoung Seo <chiyoung@couchbase.com>
Mon, 14 Mar 2016 21:27:48 +0000 (21:27 +0000)
commitec6769146e169ccc24ccb06ea546e4bfec6c3a2d
tree8b902ac83d0dad4ff018d034b13f066d7a3776f3
parent00e5bf1b5e3281b445e1d783854b7631d83b0f73
MB-18476: Handle write failures more gracefully in the mutation log

Log and error message in case of a write failure and remove any unnecessary
asserts in that code path

Change-Id: I50b7e4de4d414e21bf00404a22863baff06c0f4f
Reviewed-on: http://review.couchbase.org/61116
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
src/common.h
src/couch-kvstore/couch-kvstore.cc
src/mutation_log.cc
src/mutation_log.h