Skip to content

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 2, 2025

Proposed commit message

Fix race condition in beat LoadMeta function. If 2 (or more) beats had the same path to the meta file, then it was possible for one not to start. This would only affect beat receivers because a normal beat requires a unique path to the meta file.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Disruptive User Impact

Author's Checklist

  • [ ]

How to test this PR locally

cd libbeat/cmd/instance
go test . -v -count 1 -run TestMultipleLoadMeta

Related issues

Use cases

Screenshots

Logs


This is an automatic backport of pull request #46844 done by [Mergify](https://mergify.com).

* fix race condition in beat LoadMeta

(cherry picked from commit 89721e6)
@mergify mergify bot added the backport label Oct 2, 2025
@mergify mergify bot requested a review from a team as a code owner October 2, 2025 01:27
@mergify mergify bot added the backport label Oct 2, 2025
@mergify mergify bot requested review from orestisfl and leehinman and removed request for a team October 2, 2025 01:27
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 2, 2025
Copy link
Contributor

github-actions bot commented Oct 2, 2025

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@github-actions github-actions bot added Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team skip-changelog labels Oct 2, 2025
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 2, 2025
@leehinman leehinman merged commit 6d3543c into 9.2 Oct 2, 2025
212 checks passed
@leehinman leehinman deleted the mergify/bp/9.2/pr-46844 branch October 2, 2025 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants