Skip to content

[Heartbeat] Separate http req per task (backport #29697)#29732

Merged
andrewvc merged 1 commit into7.16from
mergify/bp/7.16/pr-29697
Jan 7, 2022
Merged

[Heartbeat] Separate http req per task (backport #29697)#29732
andrewvc merged 1 commit into7.16from
mergify/bp/7.16/pr-29697

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Jan 6, 2022

This is an automatic backport of pull request #29697 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

This is an attempt to fix the race reported in #29580 by instantiating a separate http request per HTTP task. The theory being that the HTTP library modifies the headers and that the req object is not safe to share.

This has passed manual testing using mode: all against endpoints with multiple A records.

Tests are not included here due to the tricky nature of testing here, but we will do so in a follow-up

(cherry picked from commit 27f2d00)
@mergify mergify Bot requested a review from a team as a code owner January 6, 2022 23:10
@mergify mergify Bot mentioned this pull request Jan 6, 2022
6 tasks
@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jan 6, 2022
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-01-06T23:11:15.300+0000

  • Duration: 72 min 58 sec

  • Commit: cb3466c

Test stats 🧪

Test Results
Failed 0
Passed 3211
Skipped 71
Total 3282

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

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

@andrewvc andrewvc added the Team:obs-ds-hosted-services Label for the Observability Hosted Services team label Jan 7, 2022
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/uptime (Team:Uptime)

@andrewvc andrewvc merged commit e8efb3c into 7.16 Jan 7, 2022
@botelastic botelastic Bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jan 7, 2022
@andrewvc andrewvc deleted the mergify/bp/7.16/pr-29697 branch January 7, 2022 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team:obs-ds-hosted-services Label for the Observability Hosted Services team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants