<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<pre wrap="">Subject: MMR: simultaneous total updates on the masters cause deadlock and data loss

<a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=570667">https://bugzilla.redhat.com/show_bug.cgi?id=570667</a>

[Revised proposal]
 --&gt; (<a class="moz-txt-link-freetext"
 href="https://bugzilla.redhat.com/attachment.cgi?id=398089">https://bugzilla.redhat.com/attachment.cgi?id=398089</a>)
git patch file

I revised the previous patch to allow sending simultaneous total updates
against other replicas.  I think it's no need to disallow it.

Thank you!
--noriko
</pre>
<blockquote cite="mid:4B9065FF.7040603@redhat.com" type="cite"><br>
Description: In the MMR topology, if a master receives a total
  <br>
update request to initialize the other master and being initialized
  <br>
by the other master at the same time, the 2 replication threads hang
  <br>
and the replicated backend instance could be wiped out.
  <br>
  <br>
To prevent the server running the total update supplier and the
  <br>
consumer at the same time, REPLICA_TOTAL_EXCLUSIVE bit has
  <br>
been introduced and set to the replica state flag by the either
  <br>
operation.  Once the bit is detected, the other operation fails with
  <br>
the error.
  <br>
  <br>
Files:
  <br>
 ldap/servers/plugins/replication/repl5.h
  <br>
 ldap/servers/plugins/replication/repl5_protocol.c
  <br>
 ldap/servers/plugins/replication/repl_extop.c
  <br>
  <br>
  <br>
[Fix proposal]
  <br>
 --&gt;  (<a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/attachment.cgi?id=397962">https://bugzilla.redhat.com/attachment.cgi?id=397962</a>)
  <br>
git patch file
  <br>
  <br>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
389-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-devel@lists.fedoraproject.org">389-devel@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-devel">https://admin.fedoraproject.org/mailman/listinfo/389-devel</a></pre>
</blockquote>
<br>
</body>
</html>