Andrew Kryczka
ec024a86de
More robust sync points for intra-L0 compaction tests ( #7382 )
...
Summary:
`IntraL0CompactionAfterFlushCheckConsistencyFail` was flaky by sometimes failing due to no intra-L0 compactions happening. I was able to repro it by putting a `sleep(1)` in the compaction thread before it grabs the lock and picks a compaction. This also showed other intra-L0 tests are affected too, although some of them exhibit hanging forever rather than failing.
The problem was that all the flushes/ingestions could finish before any compaction got picked, so it would end up simply picking all the files that the test generates for L0->L1. But, these tests intend only the first few files to be picked for L0->L1, and the subsequent files to be picked for intra-L0. This PR adjusts the sync points of all the intra-L0 tests to enforce this.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/7382
Test Plan: run all the `db_compaction_test`s with and without the artificial `sleep()`
Reviewed By: jay-zhuang
Differential Revision: D23684985
Pulled By: ajkr
fbshipit-source-id: 6508399030dddec7738e9853a7b3dc53ef77a584
2020-09-15 22:44:16 -07:00
..
2020-09-14 21:11:43 -07:00
2020-09-14 21:11:43 -07:00
2020-09-15 17:14:10 -07:00
2020-08-03 15:23:04 -07:00
2020-08-03 15:23:04 -07:00
2020-09-14 21:11:43 -07:00
2020-09-14 21:11:43 -07:00
2020-09-09 11:45:27 -07:00
2020-09-09 11:45:27 -07:00
2020-07-20 14:19:48 -07:00
2020-09-14 17:01:01 -07:00
2020-08-27 11:21:52 -07:00
2020-07-02 19:25:41 -07:00
2020-08-14 20:12:44 -07:00
2020-02-20 12:09:57 -08:00
2020-07-09 14:35:17 -07:00
2020-05-12 18:23:33 -07:00
2020-08-12 19:30:00 -07:00
2020-07-02 19:25:41 -07:00
2020-09-15 18:55:08 -07:00
2020-09-14 17:01:01 -07:00
2020-09-14 17:01:01 -07:00
2020-08-17 18:42:25 -07:00
2020-09-15 22:44:16 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-09-10 22:35:25 -07:00
2020-09-14 21:11:43 -07:00
2020-08-24 16:43:31 -07:00
2020-06-15 10:47:02 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-06-24 16:22:49 -07:00
2020-02-20 12:09:57 -08:00
2020-08-24 16:43:31 -07:00
2020-08-04 18:52:08 -07:00
2020-09-14 17:01:01 -07:00
2020-08-17 18:42:25 -07:00
2020-03-20 15:26:10 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-09-14 17:01:01 -07:00
2020-09-15 18:55:08 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-09-04 23:25:03 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-09-14 17:01:01 -07:00
2020-09-15 17:14:10 -07:00
2020-09-14 17:01:01 -07:00
2020-09-14 17:01:01 -07:00
2020-09-15 18:55:08 -07:00
2020-09-15 17:14:10 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-02-20 12:09:57 -08:00
2020-08-17 16:26:06 -07:00
2020-07-07 17:26:16 -07:00
2020-08-17 18:42:25 -07:00
2020-09-14 16:04:47 -07:00
2020-09-14 16:04:47 -07:00
2020-08-20 19:18:35 -07:00
2020-08-25 10:46:11 -07:00
2020-08-25 10:46:11 -07:00
2020-02-20 12:09:57 -08:00
2020-08-17 18:42:25 -07:00
2020-09-08 12:21:58 -07:00
2020-08-18 16:20:54 -07:00
2020-08-24 11:26:09 -07:00
2020-07-09 14:35:17 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-08-06 17:19:41 -07:00
2020-09-08 10:56:08 -07:00
2020-09-14 21:11:43 -07:00
2020-09-08 10:56:08 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-06-09 16:51:23 -07:00
2020-04-15 17:40:44 -07:00
2020-08-27 11:21:52 -07:00
2020-08-18 16:20:54 -07:00
2020-08-17 18:42:25 -07:00
2020-09-14 17:01:01 -07:00
2020-09-14 21:11:43 -07:00
2020-05-04 15:08:13 -07:00
2020-09-14 17:01:01 -07:00
2020-02-20 12:09:57 -08:00
2020-08-26 10:39:20 -07:00
2020-08-26 10:39:20 -07:00
2020-06-03 15:55:03 -07:00
2020-06-18 10:09:12 -07:00
2020-03-27 16:04:43 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-03-04 20:15:25 -08:00
2020-08-12 17:31:23 -07:00
2020-09-14 21:11:43 -07:00
2020-08-21 13:29:05 -07:00
2020-08-05 10:44:57 -07:00
2020-03-02 16:01:00 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-08-17 18:42:25 -07:00
2020-02-20 12:09:57 -08:00
2020-04-20 13:24:25 -07:00
2020-02-20 12:09:57 -08:00
2020-07-09 14:35:17 -07:00
2020-02-20 12:09:57 -08:00
2020-08-10 10:48:05 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-08-14 19:20:58 -07:00
2020-08-17 18:42:25 -07:00
2020-09-14 21:11:43 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-08-27 11:21:52 -07:00
2020-08-27 11:21:52 -07:00
2020-09-14 17:01:01 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-08-18 16:20:54 -07:00
2020-08-12 17:31:23 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-09-09 10:25:12 -07:00
2020-09-09 10:25:12 -07:00
2020-06-09 16:51:23 -07:00
2020-09-08 10:56:08 -07:00
2020-09-08 10:56:08 -07:00
2020-08-05 16:34:38 -07:00
2020-09-14 21:11:43 -07:00
2020-09-14 21:11:43 -07:00
2020-08-12 17:31:23 -07:00
2020-09-08 10:56:08 -07:00
2020-09-08 10:56:08 -07:00
2020-08-20 15:12:00 -07:00
2020-08-20 15:12:00 -07:00
2020-08-05 16:34:38 -07:00
2020-08-12 17:31:23 -07:00
2020-08-18 16:20:54 -07:00
2020-08-12 17:31:23 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-08-24 16:43:31 -07:00
2020-06-30 12:31:30 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-09-11 07:58:31 -07:00
2020-08-20 19:18:35 -07:00