-
Notifications
You must be signed in to change notification settings - Fork 81
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
Add timeout to bulker flush, add default case in failQueue #3986
Open
juliaElastic
wants to merge
22
commits into
elastic:main
Choose a base branch
from
juliaElastic:es-timeout-long-poll
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 20 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
2add88e
use poll timeout in es ctx
juliaElastic 780a146
Add some SCALEDEBUG logs
jillguyonnet 5c83def
add agent id to logs
juliaElastic ed72b1c
debug logs in fleet.go
juliaElastic 7352efe
add default case, log deadline
juliaElastic a9a82ea
5m timeout
juliaElastic 8cd2f0b
Merge remote-tracking branch 'origin' into es-timeout-long-poll
juliaElastic 6152b0a
cleanup logs, move deadline to doFlush
juliaElastic 17de402
move timeout before doFlush
juliaElastic dcad89b
cleanup logs
juliaElastic 6f82ac4
extracted const
juliaElastic b05bcfa
Merge remote-tracking branch 'origin/main' into es-timeout-long-poll
juliaElastic 2fcfcd0
remove log
juliaElastic 7bb949e
exit bulker on checkin error
juliaElastic e545627
update to latest stack snapshot
juliaElastic 6f593e9
Merge branch 'main' into es-timeout-long-poll
juliaElastic 3d5f557
revert break LOOP
juliaElastic 11b16cc
move deadline inside doFlush
juliaElastic a4525ed
fix cancel
juliaElastic 713cb25
remove doFlush param
juliaElastic b18c952
separate context
juliaElastic 2bcf456
added changelog
juliaElastic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The context we are wrapping here has a timeout associated with it from line 448.
Is that what we want in this case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're right, probably should be separate timeout
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
made the change, I had a passing 10k and 50k run: https://buildkite.com/elastic/observability-perf/builds/3745
75k run stuck in upgrading: https://buildkite.com/elastic/observability-perf/builds/3746#019377e3-7719-494b-a952-86c06b748960
I'm only seeing deadline errors with the message
find action
which comes from handleAck, not the bulkerhttps://platform-logging.kb.us-west2.gcp.elastic-cloud.com/app/r/s/4Xwhw
I don't know though how much this timeout helps, since it is hard to reproduce it expiring.
In the last few weeks the scale tests on main (without the changes in this pr) were quite stable, and only failed for 30k+ runs on the upgrade step: https://buildkite.com/elastic/observability-perf/builds?branch=main