[Freeipa-devel] [PATCH 0322-0337] Fix mysterious failures in PTR record synchronization

Petr Spacek pspacek at redhat.com
Tue May 5 15:24:27 UTC 2015


Hello,

Attached patch set is the best fix for
https://fedorahosted.org/bind-dyndb-ldap/ticket/155
I was able to write.

This patch set should fix vast majority of race conditions. Unfortunately it
cannot be 100 % reliable without support for LDAP transactions.

For convenience you can download the whole tree from
https://github.com/pspacek/bind-dyndb-ldap/commits/t155.syncptr
HEAD = da2552632f6ce67f1bb9d9b3cdd3e0a8e06ce9ea

Enjoy.

-- 
Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0322-SyncPTR-Read-PTR-record-values-from-RBTDB-instead-of.patch
Type: text/x-patch
Size: 18057 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0323-Split-SyncPTR-code-into-separate-module.patch
Type: text/x-patch
Size: 33163 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0324-Move-journal-maintenance-functions-to-zone.c.patch
Type: text/x-patch
Size: 5411 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0325-Move-SOA-serial-update-functions-to-zone.c.patch
Type: text/x-patch
Size: 7569 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0326-Move-helper-functions-for-diff-manipulation-to-zone..patch
Type: text/x-patch
Size: 4762 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0327-Move-DEFAULT_TTL-to-header-ldap_entry.h.patch
Type: text/x-patch
Size: 1229 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0328-Return-ISC_R_SUCCESS-from-rdataset_to_diff-to-be-con.patch
Type: text/x-patch
Size: 1484 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0329-SyncPTR-Use-database-API-for-modifications-to-preven.patch
Type: text/x-patch
Size: 14934 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0330-Zone-SOA-serial-functions-now-accept-NULL-output-par.patch
Type: text/x-patch
Size: 2611 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0331-SyncPTR-Bump-SOA-serial-immediatelly-during-PTR-sync.patch
Type: text/x-patch
Size: 905 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0332-SyncPTR-Record-PTR-synchronization-into-zone-journal.patch
Type: text/x-patch
Size: 855 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0333-SyncPTR-Do-update-asynchronously-to-prevent-race-con.patch
Type: text/x-patch
Size: 12299 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0334-Remove-unused-structure-ldap_qresult.patch
Type: text/x-patch
Size: 1071 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0335-SyncPTR-Improve-logging.patch
Type: text/x-patch
Size: 8323 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0013.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0336-SyncPTR-Do-not-return-SERVFAIL-if-reverse-zone-does-.patch
Type: text/x-patch
Size: 2134 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0014.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0337-SyncPTR-New-PTR-records-inherit-TTL-value-from-respe.patch
Type: text/x-patch
Size: 3192 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150505/19b92f78/attachment-0015.bin>


More information about the Freeipa-devel mailing list