[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7968) SIGSEGV shortly after reconnection performed by syncrepl due to synchronization conflicts



Leonid Yuriev wrote:
> I saw that the master is lost some changes of the my original patch
> (that was early attached to ITS).
>
> Please see attached diff.
> I think it is a race condition around si_cookieState inside for-loop.

Prove it. The fields being accessed inside the loop are for the pending 
values, and the pending mutex has already been acquired outside the loop.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/