You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by "quantranhong1999 (via GitHub)" <gi...@apache.org> on 2026/10/13 04:27:58 UTC
[PR] JAMES-4223 Default S3 If-None-Match to false [james-project]
quantranhong1999 opened a new pull request, #3250:
URL: https://github.com/apache/james-project/pull/3250
Defaulting `objectstorage.s3.ifNoneMatch.enable` to `true` breaks S3 compatible object storages that does not support conditional writes.
This was hit on our OVH Object Storage (Swift backed, S3 API served by the Swift s3api middleware): Swift s3api rejects any PUT carrying an `If-None-Match` header with `501 Not Implemented` (`NotImplemented`: "Conditional object PUTs are not supported."). Only Swift 2.36.0+ accepts `If-None-Match: *`.
Upgrading James without touching the configuration thus makes every blob write fail, and is a breaking change changes for some existing deployments.
Thus, I propose to revert this back to `false`. S3 conditional writes remain available as an opt-in through `objectstorage.s3.ifNoneMatch.enable=true` on storages supporting them (AWS S3, MinIO...).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
Re: [PR] JAMES-4223 Default S3 If-None-Match to false [james-project]
Posted by "quantranhong1999 (via GitHub)" <gi...@apache.org>.
quantranhong1999 commented on PR #3250:
URL: https://github.com/apache/james-project/pull/3250#issuecomment-6138449980
> > cc @prosgarz35 for the rationale of this change.
>
> i cant find where it made to true by default [3e54de4](https://github.com/apache/james-project/commit/3e54de48f4181ca0a80f5564bd7cdd3b60d67264) there was last with blobs i think?
https://github.com/apache/james-project/pull/3201
I think it was this one. And please do not understand me wrong here ^^. I just tag you so that you understand why we needed to switch it back to `false` by default :-).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
Re: [PR] JAMES-4223 Default S3 If-None-Match to false [james-project]
Posted by "quantranhong1999 (via GitHub)" <gi...@apache.org>.
quantranhong1999 merged PR #3250:
URL: https://github.com/apache/james-project/pull/3250
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
Re: [PR] JAMES-4223 Default S3 If-None-Match to false [james-project]
Posted by "quantranhong1999 (via GitHub)" <gi...@apache.org>.
quantranhong1999 commented on PR #3250:
URL: https://github.com/apache/james-project/pull/3250#issuecomment-6138245114
cc @prosgarz35 for the rationale of this change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
Re: [PR] JAMES-4223 Default S3 If-None-Match to false [james-project]
Posted by "prosgarz35 (via GitHub)" <gi...@apache.org>.
prosgarz35 commented on PR #3250:
URL: https://github.com/apache/james-project/pull/3250#issuecomment-6138485328
> > > cc @prosgarz35 for the rationale of this change.
> >
> >
> > i cant find where it made to true by default [3e54de4](https://github.com/apache/james-project/commit/3e54de48f4181ca0a80f5564bd7cdd3b60d67264) there was last with blobs i think?
>
> #3201
>
> I think it was this one. And please do not understand me wrong here ^^. I just tag you so that you understand why we needed to switch it back to `false` by default :-).
no i understand :) there just 2 side problem but sure this one bigger
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
Re: [PR] JAMES-4223 Default S3 If-None-Match to false [james-project]
Posted by "prosgarz35 (via GitHub)" <gi...@apache.org>.
prosgarz35 commented on PR #3250:
URL: https://github.com/apache/james-project/pull/3250#issuecomment-6138381437
> cc @prosgarz35 for the rationale of this change.
i cant find where it made to true by default
https://github.com/apache/james-project/commit/3e54de48f4181ca0a80f5564bd7cdd3b60d67264 there was last with blobs i think?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org