open-nomad/client/allocwatcher
Michael Schurter 43fb0e82dc client: prevent watching stale alloc state (#18612)
When waiting on a previous alloc we must query against the leader before
switching to a stale query with index set.

Also check to ensure the response is fresh before using it like #18269
2023-09-29 14:37:10 -07:00
..
alloc_watcher.go client: prevent watching stale alloc state (#18612) 2023-09-29 14:37:10 -07:00
alloc_watcher_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_watcher_unix_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
doc.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
group_alloc_watcher.go allocrunner: provide factory function so we can build mock ARs (#17161) 2023-05-12 13:29:44 -04:00
group_alloc_watcher_test.go allocrunner: provide factory function so we can build mock ARs (#17161) 2023-05-12 13:29:44 -04:00