james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MAILBOX-309) Fix CassandraAttachmentMessageIdDAO binding
Date Mon, 02 Oct 2017 02:01:15 GMT

     [ 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message