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

Webadmin task to solve Cassandra Mailbox inconsistencies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • 3.5.0
    • mailbox, webadmin
    • None

    Description

      You will implement a task whose goal will be to solve any inconsistencies that could occur between the `mailbox` table and the `mailboxPath` table in Cassandra. You need to solve the following issues :

      • If the mailboxPath exists but not the mailbox => create the corresponding mailbox
      • If the mailbox exists but not the mailboxPath => remove the mailbox (dangling mailbox that probably didn't get correctly removed)
      • If mailbox has id1/path1 and id2/path2 but mailboxPath only have id1/path1 => log an error (GhostMailbox issue)

      You can take a look at the similar work that has been done with alias mappings.

      You will then expose the task for Cassandra guice products by reusing the `/maiboxes` route, you will implement the new following `TaskRegistration` :

      POST /mailboxes?task=solveInconsistencies
      

      You need to implement as well the proper tests and documentation for it as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rcordier René Cordier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: