[ 
https://issues.apache.org/jira/browse/OAK-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496051#comment-13496051
 ] 

Mete Atamel commented on OAK-440:
---------------------------------

I think this has to do with the FIXME in CommitCommand#saveAndSetHeadRevision. 
Basically, every concurrent update is assumed to be a conflict by default, so 
this results in a lot of conflicts and the number of retries for CommitCommand 
runs out pretty quickly.
                
> Concurrency issue when 3 microkernels are writing in the same db
> ----------------------------------------------------------------
>
>                 Key: OAK-440
>                 URL: https://issues.apache.org/jira/browse/OAK-440
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mongomk
>         Environment: linux ubuntu + 1 mongo database instance
>            Reporter: Tudor Rogoz
>
> See test ConcurrentWriteMultipleMkMongoTest.testConcurrency().
> org.apache.jackrabbit.mongomk.impl.command.exception.ConflictingCommitException
> on each Thread when 3 mongo microkernels are writing nodes on the same 
> database.
> Run the test with: 1000 nodes, 10 nodes for the number of children, and 10 
> nodes per commit. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to