open-consul/agent/submatview
Matt Keeler 2a4ca71d3f
Move to using a shared EventPublisher (#12673)
Previously we had 1 EventPublisher per state.Store. When a state store was closed/abandoned such as during a consul snapshot restore, this had the behavior of force closing subscriptions for that topic and evicting event snapshots from the cache.

The intention of this commit is to keep all that behavior. To that end, the shared EventPublisher now supports the ability to refresh a topic. That will perform the force close + eviction. The FSM upon abandoning the previous state.Store will call RefreshTopic for all the topics with events generated by the state.Store.
2022-04-12 09:47:42 -04:00
..
handler.go submatview: remove method receiver from handlers 2020-10-06 13:22:02 -04:00
materializer.go Bump go-control-plane 2022-03-30 13:11:27 -04:00
store.go streaming: support X-Cache-Hit header 2021-06-28 17:29:23 -04:00
store_integration_test.go Move to using a shared EventPublisher (#12673) 2022-04-12 09:47:42 -04:00
store_test.go Bump go-control-plane 2022-03-30 13:11:27 -04:00
streaming_test.go remove gogo from pbservice 2022-03-23 12:18:01 -04:00