Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

In #137185 we introduced a new S3 repository setting called
unsafely_incompatible_with_s3_conditional_writes but named the code
symbol UNSAFELY_INCOMPATIBLE_WITH_S3_WRITES omitting the "conditional"
bit. That makes the dependent code confusing to read, so this commit
fixes the symbol name.

In elastic#137185 we introduced a new S3 repository setting called
`unsafely_incompatible_with_s3_conditional_writes` but named the code
symbol `UNSAFELY_INCOMPATIBLE_WITH_S3_WRITES` omitting the "conditional"
bit. That makes the dependent code confusing to read, so this commit
fixes the symbol name.
@DaveCTurner DaveCTurner requested a review from mhl-b November 21, 2025 10:13
@DaveCTurner DaveCTurner added >non-issue :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs labels Nov 21, 2025
@elasticsearchmachine elasticsearchmachine added v9.3.0 Team:Distributed Coordination Meta label for Distributed Coordination team labels Nov 21, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

Copy link
Contributor

@joshua-adams-1 joshua-adams-1 left a comment

Choose a reason for hiding this comment

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

LGTM!

@DaveCTurner DaveCTurner merged commit 398fc50 into elastic:main Nov 21, 2025
34 checks passed
@DaveCTurner DaveCTurner deleted the 2025/11/21/UNSAFELY_INCOMPATIBLE_WITH_S3_CONDITIONAL_WRITES-rename branch November 21, 2025 13:48
ncordon pushed a commit to ncordon/elasticsearch that referenced this pull request Nov 26, 2025
…ic#138406)

In elastic#137185 we introduced a new S3 repository setting called
`unsafely_incompatible_with_s3_conditional_writes` but named the code
symbol `UNSAFELY_INCOMPATIBLE_WITH_S3_WRITES` omitting the "conditional"
bit. That makes the dependent code confusing to read, so this commit
fixes the symbol name.
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Nov 27, 2025
As of elastic#133030 Elasticsearch uses S3's support for conditional writes to
protect against repository corruption. It is possible that some other
storage system may claim to be fully S3-compatible despite rejecting
such requests.

This commit adds a repository setting that allows to make all writes
unconditional, unsafely disabling the corruption protection, but
allowing users some time to work with their storage supplier to address
the incompatibility.

Backport of elastic#137185 and elastic#138406 to 9.2
DaveCTurner added a commit that referenced this pull request Nov 28, 2025
As of #133030 Elasticsearch uses S3's support for conditional writes to
protect against repository corruption. It is possible that some other
storage system may claim to be fully S3-compatible despite rejecting
such requests.

This commit adds a repository setting that allows to make all writes
unconditional, unsafely disabling the corruption protection, but
allowing users some time to work with their storage supplier to address
the incompatibility.

Backport of #137185 and #138406 to 9.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >non-issue Team:Distributed Coordination Meta label for Distributed Coordination team v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants