Re: Changelog, its location, ways to view, max life

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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=web&cd=1&cad=rja&uact=8&ved=0ahUKEwit5tqk5qLXAhVK7iYKHaacB40QFggmMAA&url="">

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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx

_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux