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/02/27 07:56:00 UTC

[jira] [Created] (JAMES-3075) CassandraIndexTableHandler should update all projection upon error

Benoit Tellier created JAMES-3075:
-------------------------------------

             Summary: CassandraIndexTableHandler should update all projection upon error
                 Key: JAMES-3075
                 URL: https://issues.apache.org/jira/browse/JAMES-3075
             Project: James Server
          Issue Type: Bug
          Components: cassandra, mailbox
            Reporter: Benoit Tellier


https://github.com/linagora/james-project/pull/3125/

We should ensure that a failed update to a given table don't impact updates to other tables.

{code:java}
 - if updating `messageDeleted` fails then `mailboxCounters` should still be updated (if applicable)
 - if updating `messageDeleted` fails then `applicableFlag` should still be updated (if applicable)
 - if updating `messageDeleted` fails then `firstUnseen` should still be updated (if applicable)
 - if updating `messageDeleted` fails then `mailboxRecents` should still be updated (if applicable)

 - if updating `mailboxCounters` fails then `messageDeleted` should still be updated (if applicable)
 - if updating `mailboxCounters` fails then `applicableFlag` should still be updated (if applicable)
 - if updating `mailboxCounters` fails then `firstUnseen` should still be updated (if applicable)
 - if updating `mailboxCounters` fails then `mailboxRecents` should still be updated (if applicable)

 - if updating `applicableFlag` fails then `messageDeleted` should still be updated (if applicable)
 - if updating `applicableFlag` fails then `mailboxCounters` should still be updated (if applicable)
 - if updating `applicableFlag` fails then `firstUnseen` should still be updated (if applicable)
 - if updating `applicableFlag` fails then `mailboxRecents` should still be updated (if applicable)

 - if updating `firstUnseen` fails then `messageDeleted` should still be updated (if applicable)
 - if updating `firstUnseen` fails then `mailboxCounters` should still be updated (if applicable)
 - if updating `firstUnseen` fails then `applicableFlag` should still be updated (if applicable)
 - if updating `firstUnseen` fails then `mailboxRecents` should still be updated (if applicable)

 - if updating `mailboxRecents` fails then `messageDeleted` should still be updated (if applicable)
 - if updating `mailboxRecents` fails then `mailboxCounters` should still be updated (if applicable)
 - if updating `mailboxRecents` fails then `applicableFlag` should still be updated (if applicable)
 - if updating `mailboxRecents` fails then `firstUnseen` should still be updated (if applicable)
{code}




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