Benoit Tellier created JAMES-3592: ------------------------------------- Summary: Maildir tests (Unit and MPT) are not representative of Spring product Key: JAMES-3592 URL: https://issues.apache.org/jira/browse/JAMES-3592 Project: James Server Issue Type: New Feature Components: mailbox Affects Versions: 3.6.0 Reporter: Benoit Tellier Fix For: 3.7.0
While investigating a dead-lock in https://github.com/linagora/james-project/pull/4322 I realized the following: Spring relies on a distinct JVM path locker for the maildir store, distinct from the mailbox API level one. Only tests enforces the use of a common path locker, which do not reflect production usage. Note that using a single pathLocker leads to deadlocks as acquiring the lock at the maildir level is sometime done with a lock already acquired at the mailbox level. Fixed a part of https://github.com/linagora/james-project/pull/4322 -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org