mirror of https://github.com/hashicorp/consul
Browse Source
Ensure all topics are refreshed on FSM restore and add supervisor loop to v1 controller subscriptions This PR fixes two issues: 1. Not all streams were force closed whenever a snapshot restore happened. This means that anything consuming data from the stream (controllers, queries, etc) were unaware that the data they have is potentially stale / invalid. This first part ensures that all topics are purged. 2. The v1 controllers did not properly handle stream errors (which are likely to appear much more often due to 1 above) and so it introduces a supervisor thread to restart the watches when these errors occur.pull/20648/head
Derek Menteer
9 months ago
committed by
GitHub
5 changed files with 91 additions and 34 deletions
@ -0,0 +1,7 @@
|
||||
```release-note:bug |
||||
server: Ensure internal streams are properly terminated on snapshot restore. |
||||
``` |
||||
|
||||
```release-note:bug |
||||
server: Ensure controllers are automatically restarted on internal stream errors. |
||||
``` |
Loading…
Reference in new issue