Skip to content

Conversation

@jozala
Copy link
Contributor

@jozala jozala commented Mar 12, 2025

Backports the following commits to 9.0:

In case when file with `.attach_pid` in name was stored in distribution
and then deleted, the exception could stop copying/linking files
without any sign of issue. The files were then missing in the cluster
used in the test causing them sometimes to fail (depending on which
files haven't been copied).

When using `Files.walk` it is impossible to catch the IOException and
continue walking through files conditionally. It has been replaced with
FileVisitor implementation to be able to continue if the exception is
caused by files left temporarily by JVM but no longer available.
@jozala jozala requested a review from a team as a code owner March 12, 2025 15:11
@jozala jozala added :Delivery/Build Build or test infrastructure >non-issue >test Issues or PRs that are addressing/adding tests auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Delivery Meta label for Delivery team labels Mar 12, 2025
@elasticsearchmachine elasticsearchmachine merged commit a20d948 into elastic:9.0 Mar 12, 2025
16 checks passed
@jozala jozala deleted the backport/9.0/pr-124628 branch March 12, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team >test Issues or PRs that are addressing/adding tests v9.0.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants