Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3075

CassandraIndexTableHandler should update all projection upon error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cassandra, mailbox
    • Labels:
      None

      Description

      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.

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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              btellier Benoit Tellier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: