james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2183) Flags consistency when sharing mailbox
Date Wed, 18 Oct 2017 02:07:00 GMT

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

Tellier Benoit commented on JAMES-2183:
---------------------------------------

https://github.com/linagora/james-project/pull/1034 documented flag conflict in IMAP and introduced
a mechanism for resolution.

> 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
>
> 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
(v6.4.14#64029)

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


Mime
View raw message