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

Re: out-of-order replog (ITS#2623) ?



Even for back-ldbm, replication events can appear out of order in
the log as there is a race to the log.  They are just more likely
to appear in back-bdb as it supports multiple writers.

I view syncrepl as the solution to slurpd woes.

Kurt

At 11:34 AM 7/1/2003, jongchoi@us.ibm.com wrote:
>This is a multipart message in MIME format.
>--=_alternative 0066013B85256D56_=
>Content-Type: text/plain; charset="us-ascii"
>
>Re: ITS#2623 and Howard's previous note to congestion control.
>
>Is the out-of-order replog problem related to the Berkeley DB rollback ?
>By looking at the code, all the replog()s called outside the transaction.
>(In fact, all but two of them are called from the frontend).
>Do we need to move slap_get_time() to somewhere after
>ldap_pvt_thread_mutex_lock(&replog_mutex), inside replog() ?
>- Jong
>
>------------------------
>Jong Hyuk Choi
>IBM Thomas J. Watson Research Center - Enterprise Linux Group
>P. O. Box 218, Yorktown Heights, NY 10598
>email: jongchoi@us.ibm.com
>(phone) 914-945-3979    (fax) 914-945-4425   TL: 862-3979
>
>--=_alternative 0066013B85256D56_=
>Content-Type: text/html; charset="us-ascii"
>
>
><br><font size=2 face="sans-serif">Re: ITS#2623 and Howard's previous note to congestion control.</font>
><br>
><br><font size=2 face="sans-serif">Is the out-of-order replog problem related to the Berkeley DB rollback ?</font>
><br><font size=2 face="sans-serif">By looking at the code, all the replog()s called outside the transaction.</font>
><br><font size=2 face="sans-serif">(In fact, all but two of them are called from the frontend).</font>
><br><font size=2 face="sans-serif">Do we need to move slap_get_time() to somewhere after</font>
><br><font size=2 face="sans-serif">ldap_pvt_thread_mutex_lock(&amp;replog_mutex), inside replog() ?</font>
><br><font size=2 face="sans-serif">- Jong</font>
><br><font size=2 face="sans-serif"><br>
>------------------------<br>
>Jong Hyuk Choi<br>
>IBM Thomas J. Watson Research Center - Enterprise Linux Group<br>
>P. O. Box 218, Yorktown Heights, NY 10598<br>
>email: jongchoi@us.ibm.com<br>
>(phone) 914-945-3979 &nbsp; &nbsp;(fax) 914-945-4425 &nbsp; TL: 862-3979<br>
></font>
>--=_alternative 0066013B85256D56_=--