[Samba] replPropertyMetaData & KCC issues after updating to Samba 4.5.0

Denis Cardon denis.cardon at tranquil-it-systems.fr
Sun Sep 25 22:26:01 UTC 2016

Hi Garming,


>> I have what appears to still be a full mesh replication. Shouldn't the
>> outbound and inbound neighbors be reflective of the KCC connection
>> objects? I would expect to find only inbound and outbound connections
>> for SOLDC1. Maybe I'm completely misinterpreting the intended
>> behavior.
> There's likely at least some stale entries (repsFrom). The KCC builds
> the inbound connections for each DC. Then as a separate step translates
> the connections to replication links. The outbound links are mostly the
> other DCs problem (likely an old repsFrom pulling from SOLDC1). I've
> taken quite a few steps to rid the DCs of as many old repsFrom entries
> as possible from within the KCC, but based on time delays and use of the
> old KCC, this may not be enough in its current state to be equivalent to
> a fresh domain.

About the cleanup of repsFrom/repsTo, is the cleanup code included in 
4.4.5 or only in 4.5? I have not yet found time to test that new 
version, but at least in 4.4.5, I still have the behavior where leftover 
repsFrom/repsTo are not automatically deleted. I hope to find time to 
test 4.5 next week.



PS : sorry for my parallel response to that thread, I didn't see your 
mail before hitting the send button.

> I've taken another look and it's plausible that the failover for inbound
> connections won't occur for 2 hours thanks to the default of the
> interSiteTopologyFailover variable on the site objects. I would be
> interested as to result if you set the variable (which I think is in
> minutes) to something much lower.
> This area is definitely not simple. And has a lot of room to improve
> (One bug I see here is 'Last attempt @ NTTIME(0) was successful' which
> has an unmerged fix to get the right time I believe). But it is a vast
> improvement on the old code, especially at scale.
> Cheers,
> Garming

Denis Cardon
Tranquil IT Systems
Les Espaces Jules Verne, bâtiment A
12 avenue Jules Verne
44230 Saint Sébastien sur Loire
tel : +33 (0)

More information about the samba mailing list