You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/07/18 02:48:14 UTC

[jira] Resolved: (DIRSERVER-1377) Potential concurrency issue when adding/modifying/deleting entries at a high rate

     [ https://issues.apache.org/jira/browse/DIRSERVER-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-1377.
------------------------------------------

    Resolution: Fixed

Should be fixed with commits :
http://svn.apache.org/viewvc?rev=795285&view=rev
http://svn.apache.org/viewvc?rev=795286&view=rev
http://svn.apache.org/viewvc?rev=795287&view=rev
http://svn.apache.org/viewvc?rev=795289&view=rev

If not, please reopen the issue.


> 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.


Re: [jira] Resolved: (DIRSERVER-1377) Potential concurrency issue when adding/modifying/deleting entries at a high rate

Posted by Emmanuel Lecharny <el...@apache.org>.
Alex Karasulu wrote:
> Can we have a solid summary of this case with the nature of the fix
> somewhere in case the problem comes back ?  From what I hear it was pretty
> damn hairy.
>   
I think that all the summary can be found in DIRSERVER-1377 and 1359, in 
the comments.

I will try to summarize the fix and the way to the fix soon.

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: [jira] Resolved: (DIRSERVER-1377) Potential concurrency issue when adding/modifying/deleting entries at a high rate

Posted by Alex Karasulu <ak...@gmail.com>.
Can we have a solid summary of this case with the nature of the fix
somewhere in case the problem comes back ?  From what I hear it was pretty
damn hairy.
Thanks guys, a great job.

Regards,
Alex

On Sat, Jul 18, 2009 at 12:28 AM, Kiran Ayyagari <ay...@gmail.com>wrote:

>
> Thanks Emmanuel for the great effort you put in fixing this, I can't forget
> the fact about the amount of logs you generated and grepped through (10GB?)
>
> Kiran Ayyagari
>
>
>      [
>> https://issues.apache.org/jira/browse/DIRSERVER-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>>
>> Emmanuel Lecharny resolved DIRSERVER-1377.
>> ------------------------------------------
>>
>>    Resolution: Fixed
>>
>> Should be fixed with commits :
>> http://svn.apache.org/viewvc?rev=795285&view=rev
>> http://svn.apache.org/viewvc?rev=795286&view=rev
>> http://svn.apache.org/viewvc?rev=795287&view=rev
>> http://svn.apache.org/viewvc?rev=795289&view=rev
>>
>> If not, please reopen the issue.
>>
>>
>


-- 
Alex Karasulu
My Blog :: http://www.jroller.com/akarasulu/
Apache Directory Server :: http://directory.apache.org
Apache MINA :: http://mina.apache.org

Re: [jira] Resolved: (DIRSERVER-1377) Potential concurrency issue when adding/modifying/deleting entries at a high rate

Posted by Kiran Ayyagari <ay...@gmail.com>.
Thanks Emmanuel for the great effort you put in fixing this, I can't forget
the fact about the amount of logs you generated and grepped through (10GB?)

Kiran Ayyagari

>      [ https://issues.apache.org/jira/browse/DIRSERVER-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Emmanuel Lecharny resolved DIRSERVER-1377.
> ------------------------------------------
> 
>     Resolution: Fixed
> 
> Should be fixed with commits :
> http://svn.apache.org/viewvc?rev=795285&view=rev
> http://svn.apache.org/viewvc?rev=795286&view=rev
> http://svn.apache.org/viewvc?rev=795287&view=rev
> http://svn.apache.org/viewvc?rev=795289&view=rev
> 
> If not, please reopen the issue.
>