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

[8.x] Limit the log line length for s3 deletion error (#123953) #124169

Merged
merged 2 commits into from
Mar 6, 2025

Conversation

ywangd
Copy link
Member

@ywangd ywangd commented Mar 6, 2025

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

If all items fail to delete, the current warning log builds a huge
string to include all of them (up to 1000). This PR limits the string
length to first 10 entries.

Relates: elastic#123630
(cherry picked from commit a9432ba)

# Conflicts:
#	modules/repository-s3/src/main/java/org/elasticsearch/repositories/s3/S3BlobStore.java
#	modules/repository-s3/src/test/java/org/elasticsearch/repositories/s3/S3BlobContainerRetriesTests.java
@ywangd ywangd added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Mar 6, 2025
@elasticsearchmachine elasticsearchmachine merged commit 11abc8d into elastic:8.x Mar 6, 2025
15 checks passed
@ywangd ywangd deleted the backport/8.x/pr-123953 branch March 6, 2025 02:27
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 v8.19.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants