directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel L├ęcharny <>
Subject Detecting staled replicas
Date Sun, 13 Jan 2013 17:47:36 GMT
Hi guys,

I'm currently working on a system to detect the staled replicas (ie
replicas that have been once connected, disconnected, and haven't be
reconnected, or have tried to reconnect with an empty cookie).

The idea is to create a thread associated with the LdapServer that
periodically check all the registered replicas, and discard those whic
have not been read for more than a period of time. I was thinking that
checking every hour, and discarding all the replicas that are 2 days
behind would be enough (the suggested values are the default values, it
will be configurable, of course).
Detecting that a replica has not been read for more than N days is just
a matter of reading the oldest modification it stores in its associated

Does it seems a decent solution ?

Otherwise, I do think we need some tooling to manage those replica's
journals. But this is another story...

wdyt ?

Emmanuel L├ęcharny 

View raw message