[
https://issues.apache.org/jira/browse/DIRSERVER-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732609#action_12732609
]
Emmanuel Lecharny commented on DIRSERVER-1377:
----------------------------------------------
I have substituted the current AvlTree we were using to store duplicates in
index by a simpler array of Objects, as I suspect a bug in the way we handle
AvlTrees in very specific cases to be the cause of the problem we have.
So far, tests seems to be ok, as I was able to inject more than 1 500 000
entries in the server without problem (20 concurrent threads creating and
deleting entries concurrently).
I will probably commit the change tonite.
> Potential concurrency issue when adding/modifying/deleting entries at a high
> rate
> ---------------------------------------------------------------------------------
>
> Key: DIRSERVER-1377
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1377
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.4
> Reporter: Emmanuel Lecharny
> Priority: Blocker
> Fix For: 1.5.5
>
>
> When adding/deleting entries with many clients (a client add and delete an
> entry many times), we may have some concurrency problem, as the index are
> updated without concurrent acces protection.
> Synchronizing the classes where we update the index might help.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.