[ 
https://issues.apache.org/jira/browse/JAMES-2648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748590#comment-16748590
 ] 

Rene Cordier commented on JAMES-2648:
-------------------------------------

PR : https://github.com/linagora/james-project/pull/2123

> CassandraRecipientRewriteTable: listSources support
> ---------------------------------------------------
>
>                 Key: JAMES-2648
>                 URL: https://issues.apache.org/jira/browse/JAMES-2648
>             Project: James Server
>          Issue Type: New Feature
>          Components: cassandra
>            Reporter: Rene Cordier
>            Priority: Major
>
> In `CassandraRecipientTable`, use the `CassandraSchemaVersionDAO` to 
> determine what to do:
> * if schema version is *6* - or less: we know that entries might not be 
> migrated yet in the new DAO. We can not rely on it hence we back up to the 
> API default method - safe but slow.
> * if schema version is *7* - or more: we know that all entries are present in 
> the new DAO, then we can use the new DAO - faster



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to