On 11/03/2017 11:48 AM, Sergei Gerasenko wrote:
Hello,
Some basic questions about the changelog:
1. What’s the location of the changelog where I can look up a CSN?
typically its
something like:
/var/lib/dirsv/slapd-YOUR_INSTANCE/changelogdb
To look at the replication changelog you need to use the cli tool
"cl-dump.pl"
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=we...
2. How do I see the setting for the max life of a CSN?
There is
no "max life" of a csn.
There is replication purging and changelog trimming that uses csns in
RUV's to determine what can be removed. The admin guide talks about
these in more detail.
3. How do I view a particular CSN (i.e. its contents)?
csn:
59f9e547000200010000
Breaks down like this:
59f9e547 0002 0001 0000
The first 8 bits is the timestamp in hex: 59f9e547 --> 1509549383
seconds since EPOCH
the next 4 is the sequence number (0002)
the next 4 is the replica ID (0001)
and the last 4 is the subsequence number (0000)
Thanks,
Sergei
_______________________________________________
389-users mailing list -- 389-users(a)lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave(a)lists.fedoraproject.org