-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the code and test related to recovering state from partitions (
#5441) # Motivation Simplify the code and test related to recovering state from partitions # Changes * The only test using `into_memory` is removed (along with `into_memory`). The back-and-forth conversion between partitions and memory doesn't happen in production. * `Partitions::new` and `Partitions::from` are now the same, so just keep the latter * Inline Partitions->State conversion since the additional indirection doesn't seem to help much. # Tests N/A, just refactoring # Todos - [x] Add entry to changelog (if necessary).
- Loading branch information
1 parent
016b7d9
commit 5159856
Showing
4 changed files
with
7 additions
and
81 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
This file was deleted.
Oops, something went wrong.
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