Tim Gross
b32722a6a6
CSI: enforce one plugin supervisor loop via sync.Once ( #12785 )
...
We enforce exactly one plugin supervisor loop by checking whether
`running` is set and returning early. This works but is fairly
subtle. It can briefly result in two goroutines where one quickly
exits before doing any work. Clarify the intent by using
`sync.Once`. The goroutine we've spawned only exits when the entire
task runner is being torn down, and not when the task driver restarts
the workload, so it should never be re-run.
2022-04-26 10:38:50 -04:00
..
2022-02-09 19:48:28 -05:00
2020-12-16 13:36:19 -05:00
2022-03-15 12:58:52 -05:00
2019-03-04 13:15:15 -08:00
2022-04-06 19:17:05 +02:00
2019-04-01 15:45:31 -07:00
2022-04-20 10:15:56 -07:00
2022-04-20 10:15:56 -07:00
2022-03-15 12:58:52 -05:00
2022-04-01 19:24:02 -05:00
2022-03-15 12:58:52 -05:00
2018-12-19 14:23:09 -08:00
2022-03-15 12:58:52 -05:00
2018-12-19 10:39:27 -08:00
2021-04-27 15:07:03 -07:00
2022-03-15 12:58:52 -05:00
2022-04-01 19:24:02 -05:00
2022-04-01 19:24:02 -05:00
2022-04-01 19:24:02 -05:00
2022-03-15 12:58:52 -05:00
2019-02-20 07:21:27 -08:00
2019-01-12 12:18:22 -05:00
2021-05-04 10:54:00 -04:00
2022-03-15 12:58:52 -05:00
2022-03-15 12:58:52 -05:00
2019-12-13 11:21:00 -05:00
2022-04-26 10:38:50 -04:00
2021-04-27 15:07:03 -07:00
2022-03-23 09:41:25 +01:00
2022-03-15 09:38:30 +01:00
2022-03-24 08:45:13 +01:00
2022-04-06 19:26:22 +02:00
2022-03-15 12:58:52 -05:00
2022-04-01 19:24:02 -05:00
2022-03-15 12:58:52 -05:00
2021-01-06 16:03:00 -05:00
2021-01-04 22:25:34 +00:00
2020-11-12 08:01:42 -08:00
2022-04-06 19:17:05 +02:00
2022-04-19 10:37:46 -05:00
2022-03-21 10:29:57 +01:00
2022-03-15 12:58:52 -05:00
2020-01-31 19:04:35 -06:00
2022-04-06 19:17:05 +02:00
2022-03-15 12:58:52 -05:00
2022-02-04 19:39:34 -05:00
2018-11-19 16:39:30 -08:00
2022-01-13 16:21:58 +01:00
2022-03-15 12:58:52 -05:00
2020-05-21 09:18:02 -04:00