[ https://issues.apache.org/jira/browse/JAMES-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
René Cordier resolved JAMES-4071. --------------------------------- Fix Version/s: 3.9.0 Resolution: Done [https://github.com/apache/james-project/pull/2408] took care of this and was merged > 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 > Priority: Minor > Fix For: 3.9.0 > > Time Spent: 3h > Remaining Estimate: 0h > > *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: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org