Danny Guo
b47812fba6
[rocksdb] new CompactionFilterV2 API
...
Summary:
This diff adds a new CompactionFilterV2 API that roll up the
decisions of kv pairs during compactions. These kv pairs must share the
same key prefix. They are buffered inside the db.
typedef std::vector<Slice> SliceVector;
virtual std::vector<bool> Filter(int level,
const SliceVector& keys,
const SliceVector& existing_values,
std::vector<std::string>* new_values,
std::vector<bool>* values_changed
) const = 0;
Application can override the Filter() function to operate
on the buffered kv pairs. More details in the inline documentation.
Test Plan:
make check. Added unit tests to make sure Keep, Delete,
Change all works.
Reviewers: haobo
CCs: leveldb
Differential Revision: https://reviews.facebook.net/D15087
2014-03-24 20:47:53 -07:00
..
2014-01-30 22:10:10 -08:00
2014-03-12 16:40:14 -07:00
2014-03-14 10:02:04 -07:00
2014-02-27 22:20:17 -08:00
2014-03-05 14:54:31 -08:00
2014-03-05 14:54:31 -08:00
2014-01-06 11:11:19 -08:00
2014-01-02 16:43:35 -08:00
2013-10-16 17:48:41 -07:00
2013-11-18 11:40:16 -08:00
2014-02-12 11:42:54 -08:00
2013-10-23 14:38:52 -07:00
2013-12-11 00:15:14 -08:00
2013-10-16 17:48:41 -07:00
2013-11-16 11:21:34 +00:00
2013-12-13 14:21:59 -08:00
2014-01-28 10:35:55 -08:00
2014-01-17 14:26:29 -08:00
2014-01-28 10:35:55 -08:00
2014-01-28 10:35:55 -08:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2014-03-14 10:22:37 -07:00
2013-10-16 17:48:41 -07:00
2013-12-11 00:15:14 -08:00
2014-01-14 22:03:57 -08:00
2014-01-17 14:26:29 -08:00
2014-02-26 14:41:28 -08:00
2014-03-19 15:40:12 -07:00
2014-03-21 15:32:48 -07:00
2014-03-17 21:52:14 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2014-03-14 10:02:04 -07:00
2014-03-10 12:56:46 -07:00
2014-03-14 10:02:04 -07:00
2014-03-10 12:56:46 -07:00
2014-03-03 21:11:49 -08:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2014-01-17 12:46:06 -08:00
2014-01-17 12:46:06 -08:00
2013-10-16 17:48:41 -07:00
2014-03-20 14:18:29 -07:00
2014-03-20 13:42:45 -07:00
2014-03-20 13:42:45 -07:00
2014-03-21 15:32:48 -07:00
2014-03-11 16:09:53 -07:00
2014-02-24 14:39:32 -08:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2014-01-14 16:19:09 -08:00
2013-10-16 17:48:41 -07:00
2014-03-03 21:11:49 -08:00
2013-10-16 17:48:41 -07:00
2014-03-24 20:47:53 -07:00
2013-10-16 17:48:41 -07:00
2014-03-05 10:32:54 -08:00
2014-02-26 14:41:28 -08:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2014-03-10 12:56:46 -07:00
2013-10-16 17:48:41 -07:00
2013-12-06 17:11:09 -08:00
2014-01-29 15:08:41 -08:00
2014-02-27 11:38:55 -08:00
2013-10-16 17:48:41 -07:00
2014-02-12 11:42:54 -08:00
2013-12-03 12:42:15 -08:00
2014-01-17 12:46:06 -08:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-12-06 17:11:09 -08:00
2013-10-16 17:48:41 -07:00
2014-02-03 12:19:30 -08:00
2014-03-07 14:43:22 -08:00
2014-03-07 14:43:22 -08:00
2014-03-07 14:43:22 -08:00
2014-03-10 12:56:46 -07:00