Mayank Agarwal f1bf169484 Counter for merge failure
Summary:
With Merge returning bool, it can keep failing silently(eg. While faling to fetch timestamp in TTL). We need to detect this through a rocksdb counter which can get bumped whenever Merge returns false. This will also be super-useful for the mcrocksdb-counter service where Merge may fail.
Added a counter NUMBER_MERGE_FAILURES and appropriately updated db/merge_helper.cc

I felt that it would be better to directly add counter-bumping in Merge as a default function of MergeOperator class but user should not be aware of this, so this approach seems better to me.

Test Plan: make all check

Reviewers: dnicholas, haobo, dhruba, vamsi

CC: leveldb

Differential Revision: https://reviews.facebook.net/D12129
2013-08-13 14:25:42 -07:00
..
2013-07-31 12:42:23 -07:00
2013-02-28 18:04:58 -08:00
2011-10-31 17:22:06 +00:00
2013-06-18 15:00:32 -07:00
2012-04-17 08:36:46 -07:00
2011-10-31 17:22:06 +00:00
2013-08-13 14:04:56 -07:00
2012-12-16 08:58:28 -08:00
2013-08-13 14:25:42 -07:00
2012-11-28 17:18:41 -08:00