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-03-14 16:00:23 -07:00
2013-06-12 11:17:19 -07:00
2013-08-13 14:25:42 -07:00
2013-08-05 15:43:49 -07:00
2013-05-23 11:49:38 -07:00
2012-09-16 19:33:43 -07:00
2013-08-13 14:04:56 -07:00
2012-12-17 11:26:59 -08:00
2012-12-17 11:26:59 -08:00
2013-02-28 18:04:58 -08:00
2013-08-13 14:25:42 -07:00
2013-08-13 14:25:42 -07:00
2013-08-13 14:25:42 -07:00
2013-08-13 14:25:42 -07:00
2013-08-13 14:25:42 -07:00
2013-07-31 12:42:23 -07:00
2013-02-28 18:04:58 -08:00
2013-08-13 14:25:42 -07:00