You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2020/04/02 04:36:00 UTC
[jira] [Commented] (JAMES-2648) CassandraRecipientRewriteTable:
listSources support
[ https://issues.apache.org/jira/browse/JAMES-2648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17073370#comment-17073370 ]
Benoit Tellier commented on JAMES-2648:
---------------------------------------
https://github.com/linagora/james-project/pull/3248 avoids reading the version on every source read
> 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: René Cordier
> Priority: Major
> Fix For: 3.3.0
>
>
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org