You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2021/08/16 03:08:51 UTC

[GitHub] [james-project] Arsnael commented on a change in pull request #597: JAMES-3631 Migration strategy for Cassandra mailRepository

Arsnael commented on a change in pull request #597:
URL: https://github.com/apache/james-project/pull/597#discussion_r689213494



##########
File path: upgrade-instructions.md
##########
@@ -55,7 +56,49 @@ rolling upgrade with an empty mailqueue.
 
 To achieve an empty mailqueue, start a James server with SMTP and JMAP ports not exposed:
 they will consume existing mails without creating new ones.
+ 
+### Removal of old tables for Cassandra mailRepository
+
+Date 13/08/2021
+
+JIRA: https://issues.apache.org/jira/browse/JAMES-3631
+
+Concerned products: Cassandra James, only for installation performed in 2018 or before (3.4.0).
+
+To audit if you need to perform this upgrade run on a Cassandra server:
+
+```
+nodetool tablestats KEYSPACE mailrepositorycontent
+```
+
+A non-zero value in the key estimates means you need to perform a migration.
+
+Migrating content of `mailrepositorycontent` table needs to be done prior a rolling upgrade. After the rolling upgrade 
+the table can be removed.
+
+In order to move content of the `mailrepositorycontent` table to `mailrepositorycontentv2` table for ``:

Review comment:
       ```suggestion
   In order to move content of the `mailrepositorycontent` table to `mailrepositorycontentv2` table:
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org