Ticket 47368 - IPA server dirsrv RUV entry data excluded from replication
Bug Description: If using fractional replication agreements and stripping attributes,
it's possible that no modificatins could be replicated, but the local
RUV gets updated. This makes it impossible to detect if a consumer
is up to date.
Fix Description: Added new attribute to db tombstone entry: nsds5AgmtMaxCSN.
nsds5AgmtMaxCSN: <repl area>:<agmt name>:<host>:<port>:<consumer rid>:<maxcsn>
nsds5AgmtMaxCSN: dc=example,dc=com;to replica 1;localhost.localdomain;389;111;5270095c0000014d0000
Now, each agmt stores the maxcsn (that it should replicate, as different
agmts might be stripping different attributes) in the local db tombstone.
This maxcsn can be used to check the replicas tombstone RUV to check if
it has seen all the expected updates.
repl-monitor.pl has been updated to process the the new agmt maxcsn in its
report. The script also incorrectly reported on agreements from other
replicas - this has been fixed. Also re-worded the report terminology:
changed "Receiver" to "Consumer", and "Master" to "Supplier". Also improved
the text report output as well. Examples of the new output(text and html)
can be found in the ticket(see attachments). The script is backwards compatible
with older versions of Directory Server.
https://fedorahosted.org/389/ticket/47368
Reviewed by: lkrispen & rmeggins (Thanks!!)