james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (JAMES-461) Maildir support
Date Thu, 23 Mar 2006 16:56:20 GMT
    [ http://issues.apache.org/jira/browse/JAMES-461?page=comments#action_12371587 ] 

Stefano Bagnara commented on JAMES-461:

Here is a problematic scenario:

Iterator i1 = repos.list();
Iterator i2 = repos.list();

IMHO the second call to repos.list() reset/renew the uniqToMessageNumber hashtable and it
will prevent the following retrieve from working.

MailRepository MUST be thread safe, so we cannot relay on the exact sequence list=>retrieve.
Another thread could run another list before our retrieve.

Any idea on how to solve this?

> Maildir support
> ---------------
>          Key: JAMES-461
>          URL: http://issues.apache.org/jira/browse/JAMES-461
>      Project: James
>         Type: New Feature
>     Reporter: Norman Maurer
>  Attachments: JavamailStoreMailRepository.java, MaildirMailRepository.java, MaildirMailRepository.java
> Add Maildir support..

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

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

View raw message