-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HPCC-32313 Limit lookup broadcast queue size (preventing mem build up)
As a smart join is failing over to a local smart join and stopping the broadcaster, an excessive number of inflight packets can be received and queued on the broadcaster queue. If this is unbound it can cause a large amount of heap memory to be consumed. Also: 1) add logic into the broadcaster so that receivers send back notification that they are stopping to the sender, so the sender can stop as quickly as possible. 2) Prevent adding packages to the broadcaster thread if it can be deemed that they do not need broadcasting anywhere else. Signed-off-by: Jake Smith <[email protected]>
- Loading branch information
Showing
1 changed file
with
42 additions
and
3 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