[TEST][PATCH] Replication errors with Samba4

Stefan (metze) Metzmacher metze at samba.org
Tue Jul 31 00:04:39 MDT 2012


Hi Andrew,

>> In my repl-devel branch I have a series of patches to better test our
>> replication and conflict resolution handling.
>>
>> https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/repl-devel
>>
>> Currently we have a number of issues in this area.  The test I added
>> there shows that we do not consistently handle the conflict resolution.
>> This is particularly the case with conflicting renamed. 
>>
>> The attempts at modification of the replication code I've included try
>> to handle some of this, but it still doesn't work.  
>>
>> However, this code remains dizzyingly complex, and I wondered if,
>> particularly as I now have a reasonable testsuite, you might be able toa
>> assist me in making this more reliable?
> 
> I've found some of the issues here, but I still can't make the conflict
> handling reliable.  I've put in the test simply asserting that one or
> other record becomes a conflict, until we can get back to this.  It
> would be very helpful to me if you could look at this area, as this
> should be deterministic :-(.
> 
> Still, at least is no longer stops or crashes. 

Does it randomly fail make test (if so what's the test name?)
or do you see the strange behavior in normal operation?

I was also debugging a replication problem with the servicePrincipalName
attribute
on a RODC, maybe this is related.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120731/a289f1de/attachment.pgp>


More information about the samba-technical mailing list