-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(storage-manager): dedicated method to query the Aligner
This commit anticipates the need of the initial alignment: the logic to query the Aligner of a Replica was placed in a method to not necessarily spawn a task whenever doing so. * plugins/zenoh-plugin-storage-manager/src/replication/aligner.rs: - Moved the logic to query the Aligner of a Replica in the method `query_replica_aligner`. This method spawns no task. - The method `spawn_query_replica_aligner` now simply spawns a task and calls `query_replica_aligner`. Signed-off-by: Julien Loudet <[email protected]>
- Loading branch information
Showing
1 changed file
with
63 additions
and
50 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