Skip to content
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

concurrency issue unzipping file, need to catch FileSystemAlreadyExistsException #12411

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

olamy
Copy link
Member

@olamy olamy commented Oct 22, 2024

Signed-off-by: Olivier Lamy olamy@apache.org

…tsException

Signed-off-by: Olivier Lamy <olamy@apache.org>
@olamy olamy added the Test label Oct 22, 2024
@olamy olamy merged commit 7bc94d6 into jetty-12.0.x Oct 22, 2024
10 checks passed
@olamy olamy deleted the jetty-12.0.x-concurrency-distro-test branch October 22, 2024 04:24
@@ -261,7 +262,7 @@ public static void unzip(Path archive, Path outputDir) throws IOException
}
}
}
catch (FileAlreadyExistsException e)
catch (FileAlreadyExistsException | FileSystemAlreadyExistsException e)
{
LOG.warn("ignore FileAlreadyExistsException: archiveURI {}, outputDir {}", archiveURI, outputDir);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This message should have probably changed too.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes good catch.
done here #12415

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants