Gregory Anders
3c081d0280
fix(jobwait): always drain process event queues #15402
...
Problem:
jobwait() returns early if the job was stopped, but the job might have
pending callbacks on its event queue which are required to complete its
teardown. State such as term->closed might not be updated yet (by the
pending callbacks), so codepaths such as :bdelete think the job is still
running.
Solution:
Always flush the job's event queue before returning from jobwait().
ref #15349
2021-08-31 06:53:06 -07:00
..
2021-08-03 11:39:46 -06:00
2021-04-29 09:27:19 -04:00
2021-08-20 10:45:28 -07:00
2021-08-15 21:24:59 -07:00
2021-04-14 20:39:37 +02:00
2021-06-19 16:58:39 +01:00
2019-05-09 20:27:11 -04:00
2020-08-15 19:19:06 -07:00
2021-08-22 13:55:28 -07:00
2021-04-27 09:21:29 -04:00
2021-07-07 18:51:40 -07:00
2021-05-02 12:03:34 -04:00
2021-08-26 04:26:32 -07:00
2021-05-02 10:33:32 -04:00
2020-03-02 12:59:35 +01:00
2018-10-29 09:32:29 +01:00
2021-05-02 12:03:34 -04:00
2021-05-02 12:53:49 -04:00
2018-10-29 10:01:44 +01:00
2021-04-29 09:27:19 -04:00
2021-07-07 18:51:40 -07:00
2018-10-29 09:55:07 +01:00
2021-08-09 09:17:02 -05:00
2021-07-07 18:51:40 -07:00
2018-10-29 09:55:07 +01:00
2019-11-17 19:06:59 -08:00
2021-04-27 09:21:28 -04:00
2021-04-27 09:21:31 -04:00
2021-07-07 18:51:40 -07:00
2021-05-01 23:47:11 -04:00
2021-07-07 18:51:40 -07:00
2021-08-16 18:28:52 -07:00
2021-05-16 13:55:53 -04:00
2019-09-09 09:53:19 -07:00
2020-11-12 22:21:34 -05:00
2021-08-29 15:34:51 +00:00
2021-08-26 04:26:32 -07:00
2018-08-25 15:25:49 +02:00
2021-04-28 21:29:57 -04:00
2014-07-29 02:12:31 +00:00
2021-08-09 21:21:14 +02:00
2021-05-02 12:03:34 -04:00
2021-05-01 22:29:03 -04:00
2021-05-09 17:08:21 -04:00
2021-05-02 11:51:38 -04:00
2019-11-17 19:06:59 -08:00
2021-08-31 06:53:06 -07:00
2019-03-26 19:55:33 +01:00
2021-08-27 10:45:25 -06:00
2021-05-02 10:23:35 -04:00
2018-10-29 09:55:07 +01:00
2017-11-10 22:37:54 +01:00
2018-11-05 22:45:48 +01:00
2021-05-18 22:47:17 +02:00
2018-10-29 09:55:07 +01:00
2018-10-29 09:55:07 +01:00
2021-02-17 23:54:40 -05:00
2015-08-15 15:25:30 -03:00
2021-05-01 22:29:02 -04:00
2021-07-07 18:51:40 -07:00
2021-04-14 20:48:13 +02:00
2021-06-23 23:16:20 -04:00
2021-07-30 21:51:26 -04:00
2021-04-29 21:08:09 -04:00
2019-03-26 19:55:33 +01:00
2021-07-07 18:51:40 -07:00
2021-04-29 09:27:19 -04:00
2021-07-07 18:51:40 -07:00
2019-08-02 16:20:22 +02:00
2021-05-02 10:33:32 -04:00
2021-06-12 13:06:49 -04:00
2021-07-07 18:51:40 -07:00
2021-08-27 05:50:37 -07:00
2021-04-27 09:21:35 -04:00
2021-07-07 18:51:40 -07:00
2021-04-27 09:21:34 -04:00
2021-08-12 22:35:24 +01:00
2021-06-19 16:37:04 +01:00
2021-08-20 11:58:15 -04:00
2021-04-27 09:21:31 -04:00
2021-06-27 15:30:09 -04:00
2021-05-01 22:29:03 -04:00
2021-04-27 09:21:30 -04:00
2021-05-02 13:00:38 -04:00
2021-05-01 23:19:57 -04:00
2021-05-02 10:23:35 -04:00
2021-06-11 01:01:02 +06:00
2019-08-02 16:20:22 +02:00
2021-04-27 21:47:42 -04:00
2021-04-28 21:29:56 -04:00
2018-10-29 10:01:44 +01:00
2021-04-28 21:29:56 -04:00
2021-05-01 22:29:02 -04:00
2021-05-02 12:53:49 -04:00
2021-04-29 20:42:16 -04:00
2020-01-26 17:30:47 -08:00
2021-04-27 22:40:39 -04:00
2021-05-01 22:29:03 -04:00
2021-04-27 09:21:33 -04:00
2019-11-01 13:43:20 +09:00
2018-10-29 10:01:44 +01:00
2021-04-29 09:27:19 -04:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2021-04-29 20:42:16 -04:00
2021-04-29 20:42:16 -04:00
2018-10-29 10:01:44 +01:00
2021-04-29 20:42:16 -04:00
2021-06-25 20:10:58 -04:00
2021-05-18 22:47:17 +02:00
2019-03-26 19:55:33 +01:00
2021-04-27 09:21:34 -04:00
2021-07-07 18:51:40 -07:00
2021-04-29 20:42:16 -04:00
2021-08-21 18:26:33 -07:00
2021-05-01 23:19:57 -04:00
2021-08-27 10:34:44 -06:00
2021-04-29 20:42:16 -04:00
2021-05-02 12:44:04 -04:00