-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cluster/config_manager: fix double apply of configs
previously, to support validation, the code would call a method and then call it again with a smp::invoke_on_all. this pr preserve this behavior but uses invoke_on_others to eliminate the double-apply on the current shard. to support this, the lambdas needs to be no_except_copy/move, so the parameters are taken by pointer, since they live in the parent scope
- Loading branch information
Showing
2 changed files
with
17 additions
and
13 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