JAMES-4150 Make Attachment Storage Optional for PostgreSQL Message Store#2885
JAMES-4150 Make Attachment Storage Optional for PostgreSQL Message Store#2885omerfarukicen wants to merge 1 commit intoapache:postgresqlfrom
Conversation
|
can you review CI pipeline? |
|
Sounds like a random CI issue, I restarted the build |
Arsnael
left a comment
There was a problem hiding this comment.
Overall looks good to me thank you @omerfarukicen ! Can you just be careful with the unnecessary indents in the code though? Adds noise. Thanks :)
|
@omerfarukicen those errors though look related to me: https://ci-builds.apache.org/job/james/job/ApacheJames/job/PR-2885/3/testReport/ Can you have a look please? Thanks :) |
|
It looks related to the docker runner apparently I relaunched a build |
|
Same errors, I believe related to the change |
UnixSocketClientProviderStrategy: failed with exception BadRequestException (Status 400: {"message":"client version 1.32 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version In the DockerPostgresSingleton class, the static initialization block starts the Docker container. If this initialization fails (for example, if Docker is not running or the image cannot be downloaded), the application fails during class loading. If we remove the static initialization block, the container will be started lazily in PostgresExtension.beforeAll(). |
|
My bad I did not read the logs deeper... That's weird, this is a bug between testcontainers and latest docker version (that I guess the Apache CI is using) and we did fix it a while back already. Like here: #2854 Not too sure what's going on then... I restarted a build, let's see |
|
This work needs to be revised on master in order to get latest test container fixes |
|
The postgresql branch was a feature branch used while working on the pg backend. As the postgresql backend is merged in master, the given branch is no longer in use. Could you rework this so that it targets master branch? Thanks! |
|
Just to confirm, should I rebase my current branch onto master and change the base of this PR to target master instead of the postgresql branch? |
Yes indeed! Thanks a lot |
This PR introduces a configurable option to enable or disable attachment storage in the PostgreSQL mailbox implementation.