-
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.
29618: storage: don't keep track of empty remote proposals r=nvanbenschoten a=nvanbenschoten I observed a very slow memory leak on a long running cluster that pointed to a number of replica's `remoteProposals` maps. After reproducing locally I found that some forwarded proposals were not being cleaned up. The reason for this was that we don't treat empty proposals (those generated to wake up quiesced leader) the same as normal proposals during application time. This meant that we were never clearing their command IDs from the remote proposals map. This commit fixes that issue. It will need to be backported to 2.0 and 2.1. Release note: None Co-authored-by: Nathan VanBenschoten <[email protected]>
- Loading branch information
Showing
2 changed files
with
186 additions
and
32 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