Rene Cordier created JAMES-2648:
-----------------------------------

             Summary: 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


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