Skip to content

Retry file watch registration#90537

Merged
grcevski merged 5 commits intoelastic:mainfrom
grcevski:operator/retry_register
Oct 3, 2022
Merged

Retry file watch registration#90537
grcevski merged 5 commits intoelastic:mainfrom
grcevski:operator/retry_register

Conversation

@grcevski
Copy link
Copy Markdown
Contributor

Registering a file for watching can fail because the OS (Linux) may not have enough inotify keys to hand out. Before failing to start the watch service, we should retry few times to ensure the OS situation isn't a temporary state.

Relates to #89500

If this enhancement doesn't resolve #89500, we will need to make a different fix to our gradle test framework that enables testing of the new file settings service. Porting to 8.5.1 because we have CI failures there too.

Registering a file for watching can fail because
the OS may not have enough inotify keys to hand out.
Before failing to start the watch service, we should
retry few times to ensure the OS situation isn't
temporary.
@grcevski grcevski added >enhancement :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team auto-backport-and-merge v8.5.1 v8.6.0 labels Sep 29, 2022
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Hi @grcevski, I've created a changelog YAML for you.

@grcevski grcevski merged commit 8ae63c3 into elastic:main Oct 3, 2022
@grcevski grcevski deleted the operator/retry_register branch October 3, 2022 15:19
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💔 Backport failed

Status Branch Result
8.5 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 90537

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Core Core issues without another label >enhancement Team:Core/Infra Meta label for core/infra team v8.5.0 v8.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] ClusterStateRestCancellationIT testClusterStateRestCancellation failing

4 participants