forked from rabbitmq/rabbitmq-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip message bodies larger than 4MB when scanning rdq files
When a message (much) larger than 4MB is read from an rdq file in `rabbit_msg_store:scan/6` seek past the full message size, as the message payload is not used at all. Reading the message in 4MB chunks and appending them leaves a lot of garbage and memory fragmentation behind.
- Loading branch information
1 parent
a5e2add
commit d5b8e19
Showing
1 changed file
with
29 additions
and
0 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