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/03/02 03:22:00 UTC

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

    [ https://issues.apache.org/jira/browse/JAMES-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17048755#comment-17048755 ] 

Benoit Tellier commented on JAMES-3075:
---------------------------------------

https://github.com/linagora/james-project/pull/3150 solved the issue but more in depth testing needs to be written for all the cases exposed above.

> 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
>            Priority: Major
>
> 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