Files
nomad/nomad
James Rasell e25c8a6aa7 rpc: set the deregistration eval priority to the job priority.
Previously when creating an eval for job deregistration, the eval
priority was set to the default value irregardless of the job
priority. In situations where an operator would want to deregister
a high priority job so they could re-register; the evaluation may
get blocked for some time on a busy cluster because of the
deregsiter priority.

If a job had a lower than default priority and was deregistered,
the deregister eval would get a priority higher than that of the
job. If we attempted to register another job with a higher
priority than this, but still below the default, the deregister
would be actioned before the register.

Both situations described above seem incorrect and unexpected from
a user prespective.

This fix modifies to behaviour to set the deregister eval priority
to that of the job, if available. Otherwise the default value is
still used.
2021-11-02 09:11:44 +01:00
..
2021-10-01 10:14:28 -04:00
2021-05-07 13:58:40 -04:00
2021-10-01 10:14:28 -04:00
2021-10-19 20:22:03 -04:00
2020-02-16 16:04:59 -06:00
2021-04-01 11:16:52 -04:00
2018-09-15 16:23:13 -07:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2019-01-22 15:44:31 -08:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2020-07-20 09:25:09 -04:00
2021-10-01 10:14:28 -04:00
2019-01-22 15:44:31 -08:00
2018-02-15 13:59:00 -08:00
2018-09-15 16:23:13 -07:00
2021-08-27 10:37:30 -04:00
2021-10-01 10:14:28 -04:00
2021-01-04 09:00:40 -05:00
2021-10-01 10:14:28 -04:00
2018-09-15 16:23:13 -07:00
2021-10-01 10:14:28 -04:00
2020-02-13 18:56:53 -05:00
2020-10-19 09:30:15 -04:00