R.B. Boyer
7f9ed032fd
agent: remove data race in agent config ( #20200 )
...
To fix an issue displaying the current reloaded config in the
v1/agent/self endpoint #18681 caused the agent's internal
config struct member to be deepcopied and replaced on reload.
This is not safe because the field is not protected by a lock, nor
should it be due to how it is accessed by the rest of the system.
This PR does the same deepcopy, but into a new field solely for
the point of capturing the current reloaded values for display
purposes. If there has been no reload then the original config is used.
2024-01-12 15:11:21 -06:00
..
2023-10-11 10:44:03 -05:00
2024-01-10 12:15:36 +00:00
2023-08-11 09:12:13 -04:00
2023-09-12 12:56:43 -07:00
2023-09-12 12:56:43 -07:00
2023-09-12 12:56:43 -07:00
2023-10-10 10:58:06 -04:00
2024-01-10 11:19:20 -05:00
2023-12-12 08:29:13 -05:00
2024-01-10 12:15:36 +00:00
2024-01-12 11:54:07 -05:00
2023-08-11 09:12:13 -04:00
2024-01-10 11:19:20 -05:00
2024-01-10 11:19:20 -05:00
2024-01-03 09:53:39 -07:00
2023-10-10 10:58:06 -04:00
2024-01-12 11:54:07 -05:00
2024-01-12 11:54:07 -05:00
2024-01-12 11:54:07 -05:00
2024-01-08 09:49:29 -06:00
2023-09-12 12:56:43 -07:00
2023-08-23 10:33:07 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-11-06 08:47:12 -06:00
2023-12-19 15:36:07 -08:00
2023-10-10 10:58:06 -04:00
2023-11-02 14:05:06 -05:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2024-01-12 11:54:07 -05:00
2023-08-22 09:46:03 -05:00
2024-01-10 11:19:20 -05:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-10-10 10:58:06 -04:00
2023-11-28 21:27:14 +00:00
2024-01-04 00:36:25 +00:00
2024-01-04 00:36:25 +00:00
2023-10-10 10:58:06 -04:00
2023-12-06 10:32:12 -05:00
2023-11-27 10:34:22 -05:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-10-10 10:58:06 -04:00
2023-10-10 10:58:06 -04:00
2023-10-10 10:58:06 -04:00
2023-10-10 10:58:06 -04:00
2023-12-06 12:11:32 -05:00
2024-01-12 15:11:21 -06:00
2024-01-08 09:49:29 -06:00
2024-01-12 15:11:21 -06:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-10-10 10:58:06 -04:00
2023-12-06 12:11:32 -05:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2024-01-09 13:45:29 -06:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-10-10 10:58:06 -04:00
2023-10-10 10:58:06 -04:00
2024-01-08 13:14:26 -07:00
2024-01-08 13:14:26 -07:00
2024-01-10 11:19:20 -05:00
2024-01-10 11:19:20 -05:00
2023-10-10 10:58:06 -04:00
2023-12-06 12:11:32 -05:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-12-06 12:11:32 -05:00
2023-08-11 09:12:13 -04:00
2023-08-22 09:46:03 -05:00
2023-10-10 10:58:06 -04:00
2023-08-11 09:12:13 -04:00
2023-09-11 18:11:37 +00:00
2023-12-06 12:11:32 -05:00
2023-12-11 23:28:04 +00:00
2023-10-10 10:58:06 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-11-07 10:15:50 -06:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-10-10 10:58:06 -04:00
2023-10-10 10:58:06 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-10-10 10:58:06 -04:00
2023-08-11 09:12:13 -04:00
2023-08-22 09:46:03 -05:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-09-22 15:50:56 -06:00
2023-08-11 09:12:13 -04:00
2023-12-06 12:11:32 -05:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-10-06 13:59:47 -05:00
2023-12-06 12:11:32 -05:00
2023-08-11 09:12:13 -04:00
2023-10-10 10:58:06 -04:00
2023-10-06 10:24:21 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-10-10 10:58:06 -04:00
2023-10-10 10:58:06 -04:00
2023-11-07 10:15:50 -06:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2024-01-10 11:19:20 -05:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-09-05 13:34:44 -07:00
2023-10-10 10:58:06 -04:00
2023-10-11 10:44:03 -05:00
2023-11-28 21:27:14 +00:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00
2023-08-11 09:12:13 -04:00