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 "Norman Maurer (Created) (JIRA)" <ji...@apache.org> on 2011/10/01 19:30:34 UTC

[jira] [Created] (MAILBOX-146) StoreMessageManager/StoreMailboxManager should allow to optimize MessageRange handling

StoreMessageManager/StoreMailboxManager should allow to optimize MessageRange handling
--------------------------------------------------------------------------------------

                 Key: MAILBOX-146
                 URL: https://issues.apache.org/jira/browse/MAILBOX-146
             Project: James Mailbox
          Issue Type: Improvement
          Components: store
    Affects Versions: 0.3
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 0.4


At the moment we just use the passed in MessageRange and then act on it. This works in most cases but sometimes its not good enough. As for example in copyMessages... For the copy operation its necessary to lock the targetmailbox while do the copy. This can lead to very long locking times which is bad in most cases. It would be better to let the implementation to dedicite how to handle it. For example it maybe better to split it in more then one range and just lock the targetmailbox for smaller parts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (MAILBOX-146) StoreMessageManager/StoreMailboxManager should allow to optimize MessageRange handling

Posted by "Eric Charles (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAILBOX-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Charles updated MAILBOX-146:
---------------------------------

    Fix Version/s:     (was: 0.4)
    
> StoreMessageManager/StoreMailboxManager should allow to optimize MessageRange handling
> --------------------------------------------------------------------------------------
>
>                 Key: MAILBOX-146
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-146
>             Project: James Mailbox
>          Issue Type: Improvement
>          Components: store
>    Affects Versions: 0.3
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>
> At the moment we just use the passed in MessageRange and then act on it. This works in most cases but sometimes its not good enough. As for example in copyMessages... For the copy operation its necessary to lock the targetmailbox while do the copy. This can lead to very long locking times which is bad in most cases. It would be better to let the implementation to dedicite how to handle it. For example it maybe better to split it in more then one range and just lock the targetmailbox for smaller parts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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