-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make AsyncPersistedState.resetVotingConfiguration fast (#88050)
Using the builder just to update that one field in the metadata means running through the name collision checks on the metadata which are very expensive. In the many-shards benchmark run it takes ~2% of total CPU time just for this operation. Even though this is running async on a thread off the critical path I think it's worthwhile fixing this to free up some CPU for other tasks.
- Loading branch information
1 parent
31e7e4c
commit 1cbb135
Showing
2 changed files
with
29 additions
and
1 deletion.
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