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)" <se...@james.apache.org> on 2018/01/29 03:38:00 UTC

[jira] [Resolved] (JAMES-2183) Flags consistency when sharing mailbox

     [ https://issues.apache.org/jira/browse/JAMES-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tellier Benoit resolved JAMES-2183.
-----------------------------------
    Resolution: Fixed

> Flags consistency when sharing mailbox
> --------------------------------------
>
>                 Key: JAMES-2183
>                 URL: https://issues.apache.org/jira/browse/JAMES-2183
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Quynh Nguyen
>            Priority: Major
>
> Today, the Flags of a message are stored on the associations between the message and its mailboxes.
> As JMAP makes messages Top Level Domain objects, that might be in several mailboxes, then we might need to merge several flags into a single one.
> 1/ We need to build a CRDT (Commutative) transformation for combining flags together. The idea here is that the way we will reduce multiple set of flags into only one set of flags will not depend of the order of the set.
> For instance if the message is marked as important in one mailbox but not the other, the GetMessages should return it as important.
> For instance if the message is marked as unread in one mailbox but not the other, the GetMessages should return it as read.
> We need this transformation to be not order dependant.
> 2/ We need more testing to understand the state of different flags in James:
> Especially, does GetMessageList in a specific mailbox reports messages being flags (when the message is also marked as not flagged elsewhere?).
> We might want to test SetFlags behaviour on such messages (in several mailboxes with different flags).
> 2/ From the current state of flags in James, do you think we can improve our handling of flags inconsistencies?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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