Summary: Dynamically reload schema via task interface
https://bugzilla.redhat.com/show_bug.cgi?id=436837
"Dynamically reload schema via task interface" is introduced to support these requirements: - managing user specified schema file names instead of putting all the user defined schema into 99user.ldif - reloading schema from the schema files without the server downtime
------- Additional Comments From nhosoi@redhat.com 2008-05-30 19:49 EST ------- Created an attachment (id=307257) --> (https://bugzilla.redhat.com/attachment.cgi?id=307257&action=view) cvs diffs
Modified files: ldap/servers/slapd/attrsyntax.c ldap/servers/slapd/backend.c ldap/servers/slapd/backend_manager.c ldap/servers/slapd/dse.c ldap/servers/slapd/entry.c ldap/servers/slapd/mapping_tree.c ldap/servers/slapd/pblock.c ldap/servers/slapd/proto-slap.h ldap/servers/slapd/schema.c ldap/servers/slapd/schemaparse.c ldap/servers/slapd/slap.h ldap/servers/slapd/slapi-plugin.h ldap/servers/slapd/slapi-private.h ldap/servers/slapd/back-ldbm/init.c ldap/ldif/template-dse.ldif.in Makefile.am
New file: ldap/servers/plugins/schema_reload/schema_reload.c
Description: see http://directory.fedoraproject.org/wiki/Dynamically_Reload_Schema
In addition to the test cases in the wiki page, ran the concurrency check (test case 6) in the wiki against the valgrind'ed server. Some memory leaks and attribute syntax info (struct asyntaxinfo) leaks were found. The leaks are also fixed.
389-devel@lists.fedoraproject.org