directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: How to set ads-repllogmaxidle other than the default 48 hours
Date Tue, 17 Dec 2013 12:27:54 GMT
Hi Paul,


On Tue, Dec 17, 2013 at 10:10 AM, Paul Bayliss <prbayliss@me.com> wrote:

> Hi Kiran,
>
> When a sync replication connection is established an ads-replEventLog
> objectclass entry is created with DN: ads-dsReplicaId=<some
> integer>,ou=consumers, ou=system. The ads-repllogmaxidle value is 172800
> seconds (48 hours). Is there any way to extend this time via configuration,
> to say 1 week?
>
> yes, you can update this value and the server needs to be restarted
afterwards

> My issue is that I have a sync replication listener established on a DN of
> an entry in my directory. The connection is persistent and set up to
> refresh and persist. On changes to the entry I successfully see
> SearchResults returned to my SyncRepl client. After some period of time
> (I'm estimating 48 hours based on my logs) the SearchResults stop and
> changes to the entry at the DN no longer result in SearchResults to the
> client. In addition, I don't receive any SearchResultDone, so I have no
> indication to retry the SyncReplication connection.  I'm trying to
> establish if the 48 hour default is indeed my problem.
>
> ok, update the idle time value and see if that fixes the issue, otherwise
please file a bug and I will
take care of it

> Hope this clarifies and you can help!
>
yep, indeed, thanks for the details

> Kind regards,
> Paul
>
> On Dec 16, 2013, at 11:19 PM, Kiran Ayyagari <kayyagari@apache.org> wrote:
>
> > On Tue, Dec 17, 2013 at 4:57 AM, Paul Bayliss <prbayliss@me.com> wrote:
> >
> >> Hi,
> >>
> >> Is it possible to set a configuration property that will be used for the
> >> ads-repllogmaxidle timeout that's used for ads-replEventLog entries?
> >>
> >> I didn't understand, can you rephrase the question please
> >
> >> I'd also like to confirm that I'm correct in my understanding that
> >> ads-replEventLog is removed when the ads-ReplLastSentCsn time is older
> than
> >> the the ads-repllogmaxidle value, and that ads-replLastSentCsn is
> updated
> >> in response to a SearchEntry being delivered to a REFRESH_AND_PERSIST
> >> replication consumer.
> >>
> >> no, it is not dependent on lastSentCSN, instead the server checks if a
> log
> > is inactive(neither read nor updated)
> > for more than the max idle time allowed, if yes, then the log will be
> purged
> >
> >> Many thanks in advance,
> >> Paul
> >
> >
> >
> >
> > --
> > Kiran Ayyagari
> > http://keydap.com
>
>


-- 
Kiran Ayyagari
http://keydap.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message