Igor Canadi bc672aefb3 Fix compaction_job_test
Summary:
Two issues:
* the input keys to the compaction don't include sequence number.
* sequence number is set to max(seq_num), but it should be set to max(seq_num)+1, because the condition here is strictly-larger (i.e. we will only zero-out sequence number if the DB's sequence number is strictly greater than the key's sequence number): https://github.com/facebook/rocksdb/blob/master/db/compaction_job.cc#L830

Test Plan: make compaction_job_test && ./compaction_job_test

Reviewers: sdong, lovro

Reviewed By: lovro

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D41247
(cherry picked from commit 155ce60dafbc3841da73eedf0d9dc6c4fabd8404)
2015-07-07 12:35:36 -07:00
..
2015-06-17 10:54:51 -07:00
2015-06-17 14:36:14 -07:00
2015-07-07 12:35:36 -07:00
2015-05-05 09:57:47 -07:00
2015-04-25 18:14:27 +09:00
2015-06-23 10:25:45 -07:00
2015-03-17 14:08:00 -07:00
2015-05-29 14:36:35 -07:00
2015-04-23 12:10:36 -07:00
2015-03-17 14:08:00 -07:00
2015-05-29 14:36:35 -07:00
2015-01-26 11:48:07 -08:00
2015-04-07 16:25:56 -07:00
2015-04-27 20:23:50 -07:00
2015-03-30 16:05:35 -04:00
2015-03-17 14:08:00 -07:00
2014-11-06 11:14:28 -08:00
2015-02-06 08:44:30 -08:00
2014-10-31 11:59:54 -07:00
2015-02-26 11:28:41 -08:00
2014-11-10 17:39:38 -05:00
2015-05-29 14:36:35 -07:00
2015-05-29 14:36:35 -07:00
2015-05-29 14:36:35 -07:00