Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core/bloombits: fix deadlock when matcher session hits an error #899

Merged
merged 2 commits into from
Sep 26, 2023
Merged

core/bloombits: fix deadlock when matcher session hits an error #899

merged 2 commits into from
Sep 26, 2023

Commits on Sep 25, 2023

  1. core/bloombits: fix deadlock when matcher session hits an error

    When MatcherSession encounters an error, it attempts to close the session.
    Closing waits for all goroutines to finish, including the 'distributor'.
    However, the distributor will not exit until all requests have returned.
    
    This patch fixes the issue by delivering the (empty) result to the distributor
    before calling Close().
    msmania committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    3cb2756 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2f3add View commit details
    Browse the repository at this point in the history