the retro changelog can be used by clients to retrieve changes from the server, kind of consumer initiated replication. For some operations like modrdn it would be helpful not only to have the dn and the changes, but also the nsuniqueid of the entry.
SunDS provides operational attributes: replicationCSN and targetUniqueId.
RHDS should also enhance its retro changelog
Life can be easy, when looking how to implement I noticed that the functionality is already there and can be configured in the Retro Changelog plugin:
+ nsslapd-attribute: nsuniqueid:targetUniqueId
With syncrepl it would be helpful to have the entry available for deleted entries, otherwise it cannot be checked if the entry matches the search and access citreria.
A solution would be to define
in the retro cl configuration. And have it checked for delete postop calls
$ git merge ticket47487
ldap/servers/plugins/retrocl/retrocl.c | 16 ++++++++++++++++
ldap/servers/plugins/retrocl/retrocl.h | 1 +
ldap/servers/plugins/retrocl/retrocl_po.c | 34 +++++++++++++++++++++++++---------
3 files changed, 42 insertions(+), 9 deletions(-)
$ git push origin master
Counting objects: 17, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (9/9), 1.47 KiB, done.
Total 9 (delta 7), reused 0 (delta 0)
35accf2..5f5b355 master -> master
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1044162
Metadata Update from @lkrispen:
- Issue assigned to lkrispen
- Issue set to the milestone: 1.3.2 - 09/13 (September)
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here:
If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)
to comment on this ticket.