2a4ca71d3f
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. |
||
---|---|---|
.. | ||
handler.go | ||
materializer.go | ||
store.go | ||
store_integration_test.go | ||
store_test.go | ||
streaming_test.go |