sync_repl crashes if enabled while dynamic plugin is enabled #5407
Labels
Need BZ
The ticket needs to be cloned to a BZ
priority_high
need urgent fix / highly valuable / easy to fix
Milestone
Issue Description
Dynamic plugin (nsslapd-dynamic-plugins) allows to initialize and start a plugin while the server is running. sync_repl expects that pre/post operation callbacks are called for each operation. For a MOD that enables the plugin, the preop is not called (plugin not init/started), while the postop is called as the plugin as been init/started.
Because of this the postop callback is missing the primary operation and crash
Package Version and Platform:
Since 1.3.9
Steps to Reproduce
run tests/tickets/ticket48013_test.py
Expected results
The server should not crash
The text was updated successfully, but these errors were encountered: