Valentin Rothberg
f8abd7ff75
machine config: make write atomic
...
As indicated in #21849 , loading the machine config can flake/fail with
an EOF JSON error indicating an incomplete file. Address the issue by
atomically writing the config. This way, it is not possible to load an
incomplete or partially written file. The lock can be acquired later on
to sync state.
[NO NEW TESTS NEEDED] as it's a hard-to-hit race.
Fixes : #21849
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2024-02-28 09:44:41 +01:00
..
2024-02-26 11:01:54 -05:00
2024-02-23 02:09:39 +01:00
2024-02-16 14:58:17 +01:00
2024-02-20 14:26:41 -06:00
2024-02-27 14:33:53 -05:00
2024-02-27 14:33:53 -05:00
2024-02-24 01:43:28 -06:00
2024-02-07 08:17:43 -06:00
2024-02-27 15:29:59 +01:00
2024-02-08 09:35:39 -05:00
2024-02-11 12:58:11 -06:00
2024-02-22 11:23:45 +01:00
2024-02-26 20:02:46 +02:00
2024-02-22 16:13:41 +00:00
2024-02-19 18:00:00 +02:00
2024-02-11 12:58:11 -06:00
2024-02-28 09:44:41 +01:00
2024-02-22 11:23:45 +01:00
2023-10-12 09:26:06 -04:00
2024-02-16 14:41:14 +01:00
2024-02-22 08:34:27 -05:00
2024-01-04 11:53:38 +02:00
2024-02-20 08:06:18 -05:00
2024-02-20 08:06:18 -05:00
2024-02-20 08:06:18 -05:00
2024-02-22 12:39:20 +01:00
2024-01-04 23:47:49 -05:00
2024-02-11 12:58:11 -06:00
2024-02-11 12:58:11 -06:00
2024-01-04 11:53:38 +02:00
2024-02-20 08:06:18 -05:00
2024-02-07 08:17:43 -06:00
2024-02-07 08:17:43 -06:00
2024-02-08 09:35:39 -05:00
2024-02-07 08:17:43 -06:00
2024-01-04 11:53:38 +02:00
2023-08-21 07:23:31 -05:00
2023-08-21 07:23:31 -05:00
2024-02-15 21:05:17 -06:00
2024-02-07 08:17:43 -06:00
2024-02-22 11:23:45 +01:00
2024-02-22 11:23:45 +01:00
2024-02-22 11:23:45 +01:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00