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

Cherry-pick #14359 to 7.5: [Filebeat] Race condition fix in S3 input plugin #14402

Merged
merged 1 commit into from
Nov 7, 2019
Merged

Cherry-pick #14359 to 7.5: [Filebeat] Race condition fix in S3 input plugin #14402

merged 1 commit into from
Nov 7, 2019

Conversation

kaiyan-sheng
Copy link
Contributor

Cherry-pick of PR #14359 to 7.5 branch. Original message:

During high load, Filebeat may crash due to the error channel c.errC having been closed before the last event has been acknowledged. This is caused by a missing critical section in done() which can result in c.refs no longer counting as expected.

* Added missing critical section to prevent race condition during high load

* Updated CHANGELOG.next.asciidoc

* Fix deadlock issue

(cherry picked from commit 5fb4e5f)
@kaiyan-sheng kaiyan-sheng merged commit a09e53d into elastic:7.5 Nov 7, 2019
@kaiyan-sheng kaiyan-sheng deleted the backport_14359_7.5 branch November 7, 2019 13:46
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…stic#14402)

* Added missing critical section to prevent race condition during high load

* Updated CHANGELOG.next.asciidoc

* Fix deadlock issue

(cherry picked from commit 8531cfb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants