[ 
https://issues.apache.org/jira/browse/MAILBOX-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tellier Benoit resolved MAILBOX-309.
------------------------------------
    Resolution: Fixed

https://github.com/linagora/james-project/pull/1000 solved the issue

> Fix CassandraAttachmentMessageIdDAO binding
> -------------------------------------------
>
>                 Key: MAILBOX-309
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-309
>             Project: James Mailbox
>          Issue Type: Bug
>          Components: cassandra
>    Affects Versions: master
>            Reporter: Tellier Benoit
>
> This error is logged when starting James:
> ```
> Re-preparing already prepared query is generally an anti-pattern and will 
> likely affect performance. 
> Consider preparing the statement only once. 
> Query='INSERT INTO attachmentMessageId 
> (attachmentIdAsUUID,attachmentId,messageId) VALUES 
> (:attachmentIdAsUUID,:attachmentId,:messageId);'
> ```
> We should bind **CassandraAttachmentMessageIdDAO** as a singleton.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to