-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the hubble event consumer channel is full there is a possible race condition. The code was structured such that the consumer could end up losing the count of lost events, because it was updating the count without a lock. Additionally, it could reach a condition wherein it would reset the count and send a notification of recovery more than once. Finally, there was a log message for dropped events, but it was "debug" level event rather than the warning that it should be. Signed-off-by: Nate Sweet <nathanjsweet@pm.me>
- Loading branch information
1 parent
efb3a72
commit c11c010
Showing
1 changed file
with
24 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