Browse Source

Ticket 48154 - abort cleanAllRUV tasks should not certify-all by default

Bug Description:  The current default for an abort task is to certify that
                  all the replicas receive and process the abort task.  The
                  problem is that if we are trying to abort a cleanallruv
                  task because it is "hanging" due to some replicas not
                  being reachable, the abort task will also "hang".

Fix Description:  The default for certify-all should be "no".

https://fedorahosted.org/389/ticket/48154

Reviewed by: nhosoi(Thanks!)
Mark Reynolds 10 years ago
parent
commit
465e105949
1 changed files with 7 additions and 1 deletions
  1. 7 1
      ldap/servers/plugins/replication/repl5_replica_config.c

+ 7 - 1
ldap/servers/plugins/replication/repl5_replica_config.c

@@ -2905,7 +2905,13 @@ replica_cleanall_ruv_abort(Slapi_PBlock *pb, Slapi_Entry *e, Slapi_Entry *eAfter
             goto out;
         }
     } else {
-        certify_all = "yes";
+        /*
+         * The default should be not to certify all the replicas, because
+         * we might be trying to abort a clean task that is "hanging" due
+         * to unreachable replicas.  If the default is "yes" then the abort
+         * task will run into the same issue.
+         */
+        certify_all = "no";
     }
     /*
      *  Create payload