[
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: [email protected]
For additional commands, e-mail: [email protected]