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

libbeat/publisher/pipeline: fix data races #19821

Merged
merged 1 commit into from
Jul 14, 2020
Merged

Commits on Jul 13, 2020

  1. libbeat/publisher/pipeline: fix data races

    Fix how we pass the initial queue consumer into
    eventConsumer.loop; we were referencing c.consumer
    in a background goroutine, which can race with
    updates to the consumer.
    
    Update tests to properly load atomic variables.
    Changed serially updated numEvents vars to basic,
    non-atomic types.
    axw committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    f789fd6 View commit details
    Browse the repository at this point in the history