-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Ingest Manager] Add retries for registry requests. fixes #74598 #74507
Conversation
@elasticmachine merge upstream |
Pinging @elastic/ingest-management (Team:Ingest Management) |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
|
||
export const registerRoutes = (router: IRouter, config: IngestManagerConfigType) => { | ||
// Ingest manager setup | ||
registerIngestManagerSetupRoute(router); |
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.
I split this function up and exported the individual register*Route
functions for some now-removed tests. I left it because it seems useful is common in other Kibana plugins.
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
going to merge this as the code matches the PR @skh approved. I re-requested a review when I added some behavior which has now been removed |
Summary
Use existing Kibana dependency
p-retry
to retry requests to the registry which fail with a timeout or other node/system errors (vs a 4xx or 5xx). Fixes #74598Checklist
Added tests
Two movies with logging showing behavior during different scenarios