| |
@@ -2471,6 +2471,11 @@
|
| |
slapi_log_err(SLAPI_LOG_TRACE, MEP_PLUGIN_SUBSYSTEM,
|
| |
"--> mep_add_post_op\n");
|
| |
|
| |
+ /* Just bail if we aren't ready to service requests yet. */
|
| |
+ if (!mep_oktodo(pb)) {
|
| |
+ return SLAPI_PLUGIN_SUCCESS;
|
| |
+ }
|
| |
+
|
| |
/* Reload config if a config entry was added. */
|
| |
if ((sdn = mep_get_sdn(pb))) {
|
| |
if (mep_dn_is_config(sdn)) {
|
| |
@@ -2543,6 +2548,11 @@
|
| |
slapi_log_err(SLAPI_LOG_TRACE, MEP_PLUGIN_SUBSYSTEM,
|
| |
"--> mep_del_post_op\n");
|
| |
|
| |
+ /* Just bail if we aren't ready to service requests yet. */
|
| |
+ if (!mep_oktodo(pb)) {
|
| |
+ return SLAPI_PLUGIN_SUCCESS;
|
| |
+ }
|
| |
+
|
| |
/* Reload config if a config entry was deleted. */
|
| |
if ((sdn = mep_get_sdn(pb))) {
|
| |
if (mep_dn_is_config(sdn))
|
| |
Bug Description:
When a failure occurs during betxn_post plugin callback, the betxn_post plugins are called again.
This is to process some kind of undo action (for example usn or dna that manage counters).
Fix Description:
The MEP betxn_post plugin callbacks (ADD and DEL) should catch the operation failure
and return.
It is already in place for MODRDN and MOD.
https://pagure.io/389-ds-base/issue/49561
Reviewed by: ?
Platforms tested: F28
Flag Day: no
Doc impact: no