Tellier Benoit created MAILBOX-294:
--------------------------------------

             Summary: Cassandra flags updates should not update flags if 
identity
                 Key: MAILBOX-294
                 URL: https://issues.apache.org/jira/browse/MAILBOX-294
             Project: James Mailbox
          Issue Type: Bug
            Reporter: Tellier Benoit


If a flags modification leads to no change to current state, we are currently 
performing a request to Cassandra to update it to itself.

This is inefficient and can be avoided.

Lightweight conditions are expensive so we should care.

We should thus skip the flag update for this flag. If in a retry loop, the 
retry loop should be canceled.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to