-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-12060 payload buf don't signal ready if empty
While there are inteleaving push's and pop's into payload buffer, there are a lot of go routines spinned off to report "readyness" while it might be the case where buffer is already empty. This commit takes care of this issue by properly handling signaling logic prevent to have multiple ready messages at a time also if after pop operation buffer is empty it drains the channel so it won't report ready if empty. Added test reported in bug description. FAB-12060 - #done Change-Id: Idae7a5290f024a436798bdb16abdb65614b95eb6 Signed-off-by: Artem Barger <bartem@il.ibm.com>
- Loading branch information
Showing
2 changed files
with
138 additions
and
6 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