mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
When setting up the timer for heartbeat invalidation, there's no control that allows us to remove that timer when the node is GC'd. If the GC window is narrow enough, it's possible to GC a node that has a waiting heartbeat timer. In this case, we hit a bug where querying for the node returns `nil` and this is incorrectly handled when checking for disconnect/reconnect state. Fix this bug by correctly handling a `nil` node and allowing the `Node.Update` RPC to fire normally (which then errors correctly). Fixes: https://github.com/hashicorp/nomad/issues/23376 Ref: https://hashicorp.atlassian.net/browse/NET-10109
4 lines
121 B
Plaintext
4 lines
121 B
Plaintext
```release-note:bug
|
|
server: Fixed a bug where expiring heartbeats for garbage collected nodes could panic the server
|
|
```
|