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 "Tellier Benoit (JIRA)" <ji...@apache.org> on 2015/11/28 18:18:10 UTC

[jira] [Commented] (MAILBOX-257) Create a tool to re-index documents in search index and recalculate quotas

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

Tellier Benoit commented on MAILBOX-257:
----------------------------------------

I just committed a tool to reindex documents in message search indexes.

The feature :
 - can be invoke on a specific mailbox with any kind of implementation
 - can be invoked on all mailboxes at one time. Not that this feature will not work with registration based event system, as it relies on fact that one James server sees each and every event in the cluster. This limitation is not yet overcommed.

*Further work needs to be done to handle quota recalculation. *

> Create a tool to re-index documents in search index and recalculate quotas
> --------------------------------------------------------------------------
>
>                 Key: MAILBOX-257
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-257
>             Project: James Mailbox
>          Issue Type: Improvement
>    Affects Versions: 0.6
>            Reporter: Tellier Benoit
>             Fix For: 0.6
>
>
> These operations are currently error prone due to the event system :
>  - Some event can be lost if a James server fails (just after writing to the data store, but before firing the event )
>  - Non CRDT problems with possible event reordering (example with reordering between message creation and deletion might result in a still present message )
>  - Data loss in the data store : https://aphyr.com/posts/323-call-me-maybe-elasticsearch-1-5-0
> We should implement a tool that allows us to re-compute this and expose it to the administrative interface.
> Computation can affect all mailboxes (cold fixup / migration) or one specific mailbox / namespace.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org