-
Notifications
You must be signed in to change notification settings - Fork 489
James 4150 #2919
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
base: master
Are you sure you want to change the base?
James 4150 #2919
Conversation
chibenwa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for hanging on.
I suspect a minor rebase issue. Feel free to disregard the comment regarding indent (it's a nitpick).
| return createAttachmentMapper(session); | ||
| } | ||
|
|
||
| public boolean isAttachmentStorageEnabled() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cannot find where this is actually used
| new PostgresMessageDAO(executorFactory.create(session.getUser().getDomainPart()), blobIdFactory), | ||
| new PostgresMailboxMessageDAO(executorFactory.create(session.getUser().getDomainPart())), | ||
| getModSeqProvider(session), | ||
| getAttachmentMapper(session), | ||
| blobStore, | ||
| blobIdFactory, | ||
| clock); | ||
| new PostgresMessageDAO(executorFactory.create(session.getUser().getDomainPart()), blobIdFactory), | ||
| new PostgresMailboxMessageDAO(executorFactory.create(session.getUser().getDomainPart())), | ||
| getModSeqProvider(session), | ||
| getAttachmentMapper(session), | ||
| blobStore, | ||
| blobIdFactory, | ||
| clock); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The diff is full of reindents that makes it harder to read and harder to find what really changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback.
I fixed the issue and reverted the unintended re-indentation to keep the diff minimal and focused on the actual change.
| this.mailbox = mailbox; | ||
| } | ||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are missing the critical changes of mailbox/postgres/src/main/java/org/apache/james/mailbox/postgres/PostgresMessageManager.java where we actually chose which messageStorer we want: I suspect a rebase issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes Rebase problem .
JAMES-4150 Make Attachment Storage Optional for PostgreSQL Message Store #2885
This PR includes the changes that were previously implemented in the Postgres branch and have now been merged into the master branch.