Tim Gross
cd3101d624
scale: add -check-index to job scale command ( #23457 )
...
The RPC handler for scaling a job passes flags to enforce the job modify index
is unchanged when it makes the write to Raft. But its only checking against the
existing job modify index at the time the RPC handler snapshots the state store,
so it can only enforce consistency for its own validation.
In clusters with automated scaling, it would be useful to expose the enforce
index options to the API, so that cluster admins can enforce that scaling only
happens when the job state is consistent with a state they've previously seen in
other API calls. Add this option to the CLI and API and have the RPC handler
check them if asked.
Fixes: https://github.com/hashicorp/nomad/issues/23444
2024-06-27 16:54:06 -04:00
..
2023-06-02 15:49:57 -04:00
2023-12-19 15:59:47 -05:00
2024-01-03 08:58:53 +00:00
2023-04-10 15:36:59 +00:00
2024-01-09 13:41:46 -05:00
2023-09-15 08:45:11 -04:00
2023-12-19 15:59:47 -05:00
2023-12-19 15:59:47 -05:00
2023-07-04 19:35:38 -04:00
2024-06-18 12:31:12 -05:00
2023-04-10 15:36:59 +00:00
2024-05-15 13:22:10 -04:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2024-05-14 12:49:37 -04:00
2024-05-14 12:49:37 -04:00
2023-04-10 15:36:59 +00:00
2024-03-11 08:52:08 +00:00
2023-10-17 08:02:13 +01:00
2023-09-05 07:44:54 +01:00
2023-05-30 09:20:32 -05:00
2023-08-23 15:42:13 -05:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2023-06-06 10:14:47 -04:00
2023-12-19 15:59:47 -05:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2024-04-12 08:29:00 -05:00
2024-04-12 08:29:00 -05:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2023-12-06 12:28:42 +01:00
2024-06-27 16:54:06 -04:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2023-08-10 17:27:01 -05:00
2023-09-21 17:56:33 +02:00
2023-09-21 17:56:33 +02:00
2023-05-22 11:45:31 -04:00
2024-05-03 15:01:40 -05:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2023-06-02 15:49:57 -04:00
2023-06-19 11:41:46 -04:00
2024-04-03 08:54:05 -04:00
2024-04-03 08:54:05 -04:00
2024-03-18 11:38:17 -04:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2024-03-18 11:38:17 -04:00
2024-01-12 15:48:30 -05:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2023-10-11 11:04:12 -04:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2023-10-19 15:09:30 -05:00
2023-10-19 15:09:30 -05:00
2023-10-17 08:02:13 +01:00
2023-12-19 15:59:47 -05:00
2023-04-10 15:36:59 +00:00
2024-06-27 16:54:06 -04:00
2023-04-10 15:36:59 +00:00
2023-12-19 15:59:47 -05:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2023-12-14 11:33:31 -08:00
2024-06-10 16:59:49 +02:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2023-04-10 15:36:59 +00:00
2024-05-22 15:40:25 -05:00
2024-03-14 10:59:20 -05:00
2024-05-22 15:40:25 -05:00
2023-09-05 07:44:54 +01:00
2023-04-10 15:36:59 +00:00
2024-03-22 13:50:48 -04:00
2023-10-16 09:30:24 -04:00
2023-12-19 15:59:47 -05:00