-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: include snapshotStrategy directly in IncomingSnapshot
Instead of decomposing the results of a received snapshot and inserting each separate piece of state into an `IncomingSnapshot`, we now store this state directly on each `snapshotStrategy`. The `snapshotStrategy` is then attached to a `IncomingSnapshot`. This makes more sense, because the state is specific to the snapshotStrategy, and different strategies will receive different types of data in different representations. Release note: None
- Loading branch information
1 parent
8a94f29
commit 46e4abb
Showing
2 changed files
with
158 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters