-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: tune raft.Config.{MaxSizePerMsg,MaxInflightMsgs}
The previous settings allowed up to 256 MB of Raft log entries to be inflight to a follower, resulting in a single Replica.handleRaftReady call processing thousands or 10s of thousands of commands. Log the number of commands processed when Replica.handleRaftReady takes too long. Fixes #10917
- Loading branch information
1 parent
ffe9a33
commit 89e8fe3
Showing
2 changed files
with
53 additions
and
29 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