Skip to content

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 1, 2025

Proposed commit message

Add strict ordering to the libbeat API server Start and Stop functions.

Without this it is possible to start the API server multiple times and for the calling of the Stop function to precede the calling of the Start function.

Not an issue in normal beats but in beats receivers when Start and Stop may be called quickly.

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\api
go test . -v -count 1 -run TestOrdering

Related issues

Use cases

Screenshots

Logs


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

* enforce ordering of libbeat API server Start/Stop functions

(cherry picked from commit 4490460)
@mergify mergify bot requested a review from a team as a code owner October 1, 2025 22:02
@mergify mergify bot added the backport label Oct 1, 2025
@mergify mergify bot requested review from orestisfl and mauri870 and removed request for a team October 1, 2025 22:02
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 1, 2025
Copy link
Contributor

github-actions bot commented Oct 1, 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 1, 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 1, 2025
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