Skip to content

Conversation

DaveCTurner
Copy link
Contributor

Today we emit a log message at startup if we fail to look up the default
region for use by the S3 repository. However, this is only a potential
issue if the default region is needed. If the user doesn't use
repository-s3 at all, or specifies the region for each S3
repository, then the absence of the default region is not an issue.

With this commit we delay logging anything until we encounter a
situation where we actually need the default region for something.

Backport of #133848 to 8.19

Today we emit a log message at startup if we fail to look up the default
region for use by the S3 repository. However, this is only a potential
issue if the default region is needed. If the user doesn't use
`repository-s3` at all, or specifies the `region` for each S3
repository, then the absence of the default region is not an issue.

With this commit we delay logging anything until we encounter a
situation where we actually need the default region for something.

Backport of elastic#133848 to 8.19
@DaveCTurner DaveCTurner added >bug :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v8.19.4 labels Sep 1, 2025
@elasticsearchmachine elasticsearchmachine merged commit 36502a3 into elastic:8.19 Sep 3, 2025
22 checks passed
@DaveCTurner DaveCTurner deleted the 2025/09/01/backport-133848-s3-repo-warning-819 branch September 3, 2025 17:31
sarog pushed a commit to portsbuild/elasticsearch that referenced this pull request Sep 11, 2025
Today we emit a log message at startup if we fail to look up the default
region for use by the S3 repository. However, this is only a potential
issue if the default region is needed. If the user doesn't use
`repository-s3` at all, or specifies the `region` for each S3
repository, then the absence of the default region is not an issue.

With this commit we delay logging anything until we encounter a
situation where we actually need the default region for something.

Backport of elastic#133848 to 8.19
sarog pushed a commit to portsbuild/elasticsearch that referenced this pull request Sep 19, 2025
Today we emit a log message at startup if we fail to look up the default
region for use by the S3 repository. However, this is only a potential
issue if the default region is needed. If the user doesn't use
`repository-s3` at all, or specifies the `region` for each S3
repository, then the absence of the default region is not an issue.

With this commit we delay logging anything until we encounter a
situation where we actually need the default region for something.

Backport of elastic#133848 to 8.19
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 >bug :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v8.19.4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants