chibenwa opened a new pull request #686:
URL: https://github.com/apache/james-project/pull/686


   
org.apache.james.mailbox.cassandra.CassandraMailboxManagerTest$WithBatchSize.creatingConcurrentlyMailboxesWithSameParentShouldNotFail
   
   tests is enough to trigger instability on the Apache CI
   
   https://ci-builds.apache.org/job/james/job/ApacheJames/job/PR-685/1/
   
   In short, the LWT usage is enough to create contention.
   
   Looking closer at the issue, StoreMailboxManager does numerous defensive 
SERIAL reads (doing empty paxos commits) which ends up further degrading 
performance and increase contention.
   
   I believe removing these defensive reads would make our code more stable.
   
   It resulted in faster (x2) test for 
gConcurrentlyMailboxesWithSameParentShouldNotFail


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to