[Freeipa-devel] [PATCH 0185] Do not execute new LDAP search for each updated object

Petr Spacek pspacek at redhat.com
Thu Aug 1 13:52:55 UTC 2013


Hello,

Do not execute new LDAP search for each updated object.

Syncrepl delivers notification about change in particular object
along with all data from the object. Resource Records are parsed out
from this data instead of data obtained via separate LDAP search.

Current code doesn't have any rate limitation. As a result,
ldap_sync_init/poll() can enqueue update events faster than rest of BIND
is able to dequeue and process them. Unprocessed events can consume
significant amount of memory. This area definitely needs improvement.


This is next in complete transition to RBTDB. It should go to master.

-- 
Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0185-Do-not-execute-new-LDAP-search-for-each-updated-obje.patch
Type: text/x-patch
Size: 9582 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130801/8d95f8f5/attachment.bin>


More information about the Freeipa-devel mailing list