Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous cap was set at 1 MB. However, a user was experiencing mon timeouts while syncing the purged_snap_epoch * keys, which are ~20 bytes each. Reducing the max payload to 64K resolved the problem, which maps to (very!) roughly 1500 keys per message. Set our limit a bit higher than that since we just made this quite a bit more efficient. Most of the time the keys are larger than 20 bytes and we wouldn't hit the key limit, but having one ensures that we won't burn too much CPU in one go when we do have lots of these little keys. Signed-off-by: Sage Weil <sage@redhat.com> (cherry picked from commit 4d6c7e3)
- Loading branch information
Showing
4 changed files
with
21 additions
and
8 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
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