Files
nomad/command
Mahmood Ali 90d488bcb5 Avoid de-registering slowly restored services
When a nomad client restarts/upgraded, nomad restores state from running
task and starts the sync loop.  If sync loop runs early, it may
deregister services from Consul prematurely even when Consul has the
running service as healthy.

This is not ideal, as re-registering the service means potentially
waiting a whole service health check interval before declaring the
service healthy.

We attempt to mitigate this by introducing an initialization probation
period.  During this time, we only deregister services and checks that
were explicitly deregistered, and leave unrecognized ones alone.  This
serves as a grace period for restoring to complete, or for operators to
restore should they recognize they restored with the wrong nomad data
directory.
2019-06-14 11:15:21 -04:00
..
2018-03-11 17:43:19 +00:00
2018-05-11 18:05:43 -04:00
2019-05-16 17:06:03 -04:00
2019-05-12 22:04:50 -04:00
2019-04-23 12:50:23 +02:00
2017-07-20 21:24:21 -07:00
2019-05-12 22:04:50 -04:00
2017-07-20 21:24:21 -07:00
2017-07-07 12:07:07 -07:00
CLI
2018-05-07 14:50:01 -05:00
2018-04-03 18:15:12 -07:00
2018-04-18 12:19:53 -04:00
2018-05-21 18:00:14 -05:00
2018-08-14 14:06:04 -04:00
2019-02-14 12:49:26 -06:00
2018-11-08 09:48:43 -06:00
2018-11-08 09:48:43 -06:00
2018-04-26 15:46:22 -07:00
2019-01-11 11:36:37 -08:00
2017-09-15 23:33:43 +00:00
2018-03-21 20:27:32 -07:00
2018-03-11 19:06:15 +00:00
2019-05-13 10:01:19 -04:00
2019-01-08 09:35:16 -08:00
2018-06-14 15:48:01 +02:00
2018-03-21 20:27:32 -07:00
2017-07-20 21:24:21 -07:00
2017-07-20 21:24:21 -07:00
2017-07-20 21:24:21 -07:00
2017-09-19 10:08:23 -05:00
2017-09-19 10:08:23 -05:00
2017-09-19 10:08:23 -05:00
2017-09-19 10:08:23 -05:00
2017-07-20 21:24:21 -07:00
2017-07-20 21:24:21 -07:00
2018-05-11 18:05:43 -04:00
2017-07-20 21:24:21 -07:00