Yueh-Hsuan Chiang
1d1a64f58a
Move NeedsCompaction() from VersionStorageInfo to CompactionPicker
...
Summary:
Move NeedsCompaction() from VersionStorageInfo to CompactionPicker
to allow different compaction strategy to have their own way to
determine whether doing compaction is necessary.
When compaction style is set to kCompactionStyleNone, then
NeedsCompaction() will always return false.
Test Plan:
export ROCKSDB_TESTS=Compact
./db_test
Reviewers: ljin, sdong, igor
Reviewed By: igor
Subscribers: dhruba, leveldb
Differential Revision: https://reviews.facebook.net/D28719
2014-11-13 13:41:43 -08:00
..
2014-10-31 11:59:54 -07:00
2014-09-04 16:18:36 -07:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-11-13 14:39:30 -05:00
2014-11-07 14:45:18 -08:00
2014-11-13 14:39:30 -05:00
2014-11-10 11:57:58 -08:00
2014-11-13 13:41:43 -08:00
2014-11-13 13:41:43 -08:00
2014-11-13 13:41:43 -08:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-11-04 09:59:05 -08:00
2014-11-04 09:59:05 -08:00
2014-10-23 15:34:21 -07:00
2014-11-07 14:45:18 -08:00
2014-11-13 13:41:43 -08:00
2014-11-13 14:39:30 -05:00
2014-11-11 16:47:22 -05:00
2014-11-06 11:14:28 -08:00
2014-09-08 15:04:34 -07:00
2014-11-11 16:47:22 -05:00
2014-07-23 12:31:11 -07:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-10-21 11:23:06 -07:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-08-14 13:22:50 -07:00
2014-11-07 14:45:18 -08:00
2014-11-07 14:45:18 -08:00
2014-11-07 11:50:34 -08:00
2014-11-11 16:47:22 -05:00
2014-11-07 14:45:18 -08:00
2014-10-02 14:33:16 -07:00
2014-09-10 18:46:09 -07:00
2014-11-11 16:47:22 -05:00
2014-11-10 15:44:20 -08:00
2014-11-13 13:41:43 -08:00
2014-11-05 11:03:34 -08:00
2014-11-07 11:50:34 -08:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-01-02 16:32:31 -08:00
2014-11-13 14:39:30 -05:00
2014-01-27 14:49:10 -08:00
2014-11-11 16:47:22 -05:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2014-11-07 11:50:34 -08:00
2014-11-07 11:50:34 -08:00
2014-11-11 16:47:22 -05:00
2014-10-27 12:10:13 -07:00
2014-03-24 17:57:13 -07:00
2014-11-06 11:14:28 -08:00
2014-07-30 17:24:36 -07:00
2014-03-26 18:11:41 -07:00
2014-11-11 16:47:22 -05:00
2014-11-07 15:04:30 -08:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-10-29 15:12:50 -07:00
2014-11-11 16:47:22 -05:00
2014-10-27 15:03:45 -07:00
2014-09-04 23:06:23 +08:00
2014-10-28 17:52:32 -07:00
2014-09-29 11:09:09 -07:00
2014-09-05 09:53:04 -07:00
2013-12-05 16:34:16 -08:00
2014-05-13 12:30:55 -07:00
2014-11-06 11:14:28 -08:00
2014-11-06 11:14:28 -08:00
2014-11-13 13:41:43 -08:00
2014-11-13 13:41:43 -08:00
2014-10-31 16:34:38 -07:00
2014-11-11 16:47:22 -05:00
2014-10-31 11:59:54 -07:00
2014-11-11 16:47:22 -05:00
2014-10-28 10:03:13 -07:00
2014-11-13 13:41:43 -08:00
2014-11-13 13:41:43 -08:00
2014-10-29 17:43:37 -07:00
2014-11-04 10:34:18 -08:00
2014-11-10 17:39:38 -05:00
2014-09-10 18:46:09 -07:00
2014-10-27 12:10:13 -07:00
2014-11-11 16:47:22 -05:00
2014-09-08 11:20:25 -07:00
2014-09-08 11:20:25 -07:00
2014-09-13 14:14:10 -07:00
2014-09-12 16:23:58 -07:00
2014-09-12 16:23:58 -07:00