Ticket 47451 - Dynamic plugins - fixed thread synchronization
Description: Made various fixes and overall improvements to the dynamic
plugin feature,and Tthe CI test suite.
dirsrvtests/suites/dynamic-plugins/plugin_tests.py
dirsrvtests/suites/dynamic-plugins/stress_tests.py
dirsrvtests/suites/dynamic-plugins/test_dynamic_plugins.py
- Improved/intensified stress test
- Improved task monitoring
- Added a replication run to the entire test suite
- Added tests for "shared config areas": MO & RI plugins
ldap/servers/plugins/acctpolicy/acct_config.c
ldap/servers/plugins/acctpolicy/acct_init.c
ldap/servers/plugins/acctpolicy/acct_plugin.c
ldap/servers/plugins/acctpolicy/acct_util.c
ldap/servers/plugins/acctpolicy/acctpolicy.h
- Added the necessary postop calls to check for config updates
ldap/servers/plugins/linkedattrs/fixup_task.c
- Fixed logging issue
ldap/servers/plugins/memberof/memberof_config.c
- Fixed double free/crash
ldap/servers/slapd/dse.c
- The ADD entry was incorrectly being set to NULL(memory leak)
ldap/servers/slapd/plugin.c
- Improved thread sychronization/fixed race condition
- Fixed memory leak when deleting plugin for the plugin config area
ldap/servers/slapd/slapi-plugin.h
ldap/servers/slapd/thread_data.c
- Revised plugin lock thread data wrappers
https://fedorahosted.org/389/ticket/47451
Jenkins: Passed
Valgrind: Passed
Reviewed by: nhosoi(Thanks!)