Tung TRAN created JAMES-4071:
--------------------------------
Summary: Inconsistencies: need a task to rebuild messagedeleted
table
Key: JAMES-4071
URL: https://issues.apache.org/jira/browse/JAMES-4071
Project: James Server
Issue Type: Improvement
Reporter: Tung TRAN
*Why?*
I observed some inconsistencies between messagedeleted and messageidtable on CNB
Some missing entries on both side.
Impact: some mails marked as deleted can not be undeleted
Workaround: unmark them as deleted, re-mark them as deleted, and expunge
*What*
Have a task that rebuild the `messagedeleted` projection:
```
curl -XPOST /mailboxes?action=SolveMessageDeletedInconsistencies
```
For each mailbox, crears the `messagedeleted` entry, list mailbox content and
re-creates the necessary entries.
While we are at it we can likely do too the `mailboxrecents` table.
```
curl -XPOST /mailboxes?action=SolveMailboxRecentInconsistencies
```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]