Igor Canadi 478990c81b Make CompactionInputErrorParanoid less flakey
Summary:
I'm getting lots of e-mails with CompactionInputErrorParanoid failing. Most recent example early morning today was: http://ci-builds.fb.com/job/rocksdb_valgrind/562/consoleFull

I'm putting a stop to these e-mails. I investigated why the test is flakey and it turns out it's because of non-determinsim of compaction scheduling. If there is a compaction after the last flush, CorruptFile will corrupt the compacted file instead of file at level 0 (as it assumes). That makes `Check(9, 9)` fail big time.

I also saw some errors with table file getting outputed to >= 1 levels instead of 0. Also fixed that.

Test Plan: Ran corruption_test 100 times without a failure. Previously it usually failed at 10th occurrence.

Reviewers: dhruba, haobo, ljin

Reviewed By: ljin

CC: leveldb

Differential Revision: https://reviews.facebook.net/D18285
2014-04-24 11:13:28 -07:00
..
2014-04-09 21:17:14 -07:00
2014-04-15 13:39:26 -07:00
2014-04-16 15:15:22 -07:00
2014-03-12 09:56:53 -07:00
2014-04-23 09:11:35 -04:00
2014-04-15 13:39:26 -07:00
2014-04-14 10:48:01 -07:00
2014-04-14 10:48:01 -07:00
2014-04-15 13:39:26 -07:00
2014-04-08 10:58:07 -07:00
2014-04-23 19:45:22 -07:00
2014-04-16 09:09:28 -07:00
2013-10-25 08:32:14 -07:00
2014-02-28 13:19:47 -08:00
2014-01-27 14:49:10 -08:00
2014-03-14 22:44:35 +00:00
2014-03-14 13:02:20 -07:00
2014-04-09 21:17:14 -07:00
2014-04-15 13:39:26 -07:00
2014-01-30 22:10:10 -08:00
2014-04-17 17:25:28 -07:00
2014-04-15 13:39:26 -07:00
2014-04-15 13:39:26 -07:00
2014-04-15 13:39:26 -07:00
2014-04-15 13:39:26 -07:00