Yanqin Jin
8f4f302316
Attempt to deflake DBFlushTest.FireOnFlushCompletedAfterCommittedResult ( #9083 )
...
Summary:
DBFlushTest.FireOnFlushCompletedAfterCommittedResult uses test sync
points to coordinate interleaving of different threads. Before this PR,
the test writes some data to memtable, triggers a manual flush, and
triggers a second manual flush after a first bg flush thread starts
executing. Though unlikely, it is possible for the second bg flush
thread to run faster than the first bg flush thread and deques flush
queue first. In this case, the original test will fail.
The fix is to wait until the first bg flush thread deques the flush
queue before triggering second manual flush.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/9083
Test Plan: ./db_flush_test --gtest_filter=DBFlushTest.FireOnFlushCompletedAfterCommittedResult
Reviewed By: jay-zhuang
Differential Revision: D31951239
Pulled By: riversand963
fbshipit-source-id: f32d7cdabe6ad6808fd18e54e663936dc0a9edb4
2021-10-31 22:08:48 -07:00
..
2021-10-06 07:48:31 -07:00
2021-10-29 15:23:17 -07:00
2021-10-27 23:08:56 -07:00
2021-06-16 16:51:38 -07:00
2021-09-29 04:04:40 -07:00
2021-09-29 04:04:40 -07:00
2021-09-16 17:23:36 -07:00
2021-10-11 18:03:01 -07:00
2021-10-11 18:03:01 -07:00
2021-10-11 18:03:01 -07:00
2021-10-11 18:03:01 -07:00
2021-09-08 12:22:04 -07:00
2021-03-29 17:10:42 -07:00
2020-10-28 23:22:27 -07:00
2021-05-05 14:00:17 -07:00
2021-06-15 03:43:48 -07:00
2021-10-18 23:32:01 -07:00
2021-10-28 22:15:17 -07:00
2021-09-15 15:33:20 -07:00
2021-09-27 07:43:47 -07:00
2021-07-23 08:38:45 -07:00
2021-10-27 23:08:56 -07:00
2021-09-21 09:23:48 -07:00
2021-07-23 08:38:45 -07:00
2021-10-16 10:04:32 -07:00
2021-10-31 22:08:48 -07:00
2021-07-30 12:16:44 -07:00
2020-06-15 10:47:02 -07:00
2021-07-23 08:38:45 -07:00
2021-09-08 07:46:44 -07:00
2021-05-05 14:00:17 -07:00
2021-09-01 14:28:58 -07:00
2021-06-16 16:51:38 -07:00
2021-09-29 04:04:40 -07:00
2021-07-23 08:38:45 -07:00
2021-09-12 15:34:26 -07:00
2021-08-10 11:10:07 -07:00
2020-12-09 21:21:16 -08:00
2021-07-23 08:38:45 -07:00
2021-07-23 08:38:45 -07:00
2021-07-23 08:38:45 -07:00
2021-07-23 08:38:45 -07:00
2021-10-22 10:13:15 -07:00
2021-10-20 10:04:13 -07:00
2021-09-08 07:46:44 -07:00
2021-09-30 13:26:31 -07:00
2021-09-07 13:28:29 -07:00
2021-10-18 23:32:01 -07:00
2021-07-23 08:38:45 -07:00
2021-10-18 21:25:45 -07:00
2021-10-28 22:15:17 -07:00
2021-10-28 22:15:17 -07:00
2021-10-18 23:32:01 -07:00
2021-09-21 09:23:48 -07:00
2021-07-23 08:38:45 -07:00
2021-09-27 11:51:07 -07:00
2021-09-08 07:46:44 -07:00
2021-07-23 08:38:45 -07:00
2021-07-23 08:38:45 -07:00
2020-10-28 23:22:27 -07:00
2021-09-29 04:04:40 -07:00
2021-09-29 04:04:40 -07:00
2021-07-23 08:38:45 -07:00
2021-09-01 14:28:58 -07:00
2021-07-29 11:51:08 -07:00
2021-03-25 21:18:08 -07:00
2021-09-16 17:23:36 -07:00
2021-09-16 17:23:36 -07:00
2020-02-20 12:09:57 -08:00
2021-10-11 16:23:18 -07:00
2021-10-08 10:32:24 -07:00
2021-10-12 20:39:52 -07:00
2021-10-28 22:15:17 -07:00
2021-09-21 09:23:48 -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-10-28 23:22:27 -07:00
2021-08-03 13:31:10 -07:00
2021-09-16 17:23:36 -07:00
2021-09-29 04:04:40 -07:00
2020-02-20 12:09:57 -08:00
2021-03-19 12:09:47 -07:00
2020-02-20 12:09:57 -08:00
2021-03-25 21:18:08 -07:00
2021-09-29 04:04:40 -07:00
2021-09-29 04:04:40 -07:00
2021-09-29 04:04:40 -07:00
2021-07-23 08:38:45 -07:00
2021-10-20 13:17:00 -07:00
2021-10-20 13:17:00 -07:00
2021-09-10 10:00:26 -07:00
2021-09-27 11:43:20 -07:00
2021-10-05 10:51:59 -07:00
2020-02-20 12:09:57 -08:00
2020-11-30 18:11:38 -08:00
2020-08-26 10:39:20 -07:00
2021-01-04 16:01:01 -08:00
2021-06-25 00:47:17 -07:00
2021-03-19 12:09:47 -07:00
2020-02-20 12:09:57 -08:00
2021-03-19 12:09:47 -07:00
2021-09-29 04:04:40 -07:00
2021-09-07 11:31:59 -07:00
2020-02-20 12:09:57 -08:00
2020-12-22 23:45:58 -08:00
2021-08-03 13:31:10 -07:00
2021-09-29 04:04:40 -07:00
2021-09-29 04:04:40 -07:00
2021-09-29 04:04:40 -07:00
2021-09-14 13:14:39 -07:00
2021-05-10 12:50:25 -07:00
2021-10-06 07:48:31 -07:00
2021-06-24 18:11:30 -07:00
2021-09-29 04:04:40 -07:00
2020-02-20 12:09:57 -08:00
2021-08-30 15:20:41 -07:00
2021-10-18 15:15:23 -07:00
2020-12-23 16:55:53 -08:00
2021-09-29 04:04:40 -07:00
2021-09-29 04:04:40 -07:00
2021-03-15 04:34:11 -07:00
2021-07-23 08:38:45 -07:00
2021-03-15 04:34:11 -07:00
2021-01-25 22:09:11 -08:00
2021-09-07 11:31:59 -07:00
2021-09-01 14:28:58 -07:00
2021-09-10 10:00:26 -07:00
2021-03-15 04:34:11 -07:00
2021-10-06 07:48:31 -07:00
2021-10-06 07:48:31 -07:00
2020-10-28 10:12:58 -07:00
2021-03-25 21:18:08 -07:00
2021-10-06 07:48:31 -07:00
2021-06-18 04:57:27 -07:00
2021-06-18 04:57:27 -07:00
2021-09-10 10:00:26 -07:00
2021-07-28 16:44:14 -07:00
2021-09-29 04:04:40 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2021-09-10 10:00:26 -07:00
2021-10-07 14:58:41 -07:00
2021-10-07 14:58:41 -07:00
2021-09-28 12:35:24 -07:00
2021-03-25 15:00:45 -07:00
2021-09-28 12:35:24 -07:00
2021-10-05 10:51:59 -07:00
2021-09-29 04:04:40 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2021-06-22 09:49:44 -07:00
2021-10-29 17:47:02 -07:00
2021-04-19 11:56:14 -07:00
2021-09-29 04:04:40 -07:00
2021-06-10 12:55:20 -07:00
2021-01-19 19:27:53 -08:00
2021-05-17 15:15:23 -07:00
2021-05-17 15:15:23 -07:00
2021-10-22 10:13:15 -07:00
2021-10-16 10:04:32 -07:00
2021-10-16 10:04:32 -07:00
2020-12-09 16:02:12 -08:00
2020-12-09 16:02:12 -08:00
2020-12-09 16:02:12 -08:00
2021-09-21 09:23:48 -07:00
2021-07-30 12:16:44 -07:00
2021-07-30 12:16:44 -07:00
2020-02-20 12:09:57 -08:00
2021-09-14 13:14:39 -07:00
2021-09-01 14:28:58 -07:00
2021-09-14 13:14:39 -07:00
2021-07-07 11:14:05 -07:00
2020-02-20 12:09:57 -08:00
2021-03-18 09:47:31 -07:00
2021-03-18 09:47:31 -07:00
2021-03-18 09:47:31 -07:00
2021-04-21 13:54:02 -07:00
2021-06-18 17:14:51 -07:00