andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone
dc8c34
From cba5dc6e08b03d3b174082ae8b1f1b12a9e4d96a Mon Sep 17 00:00:00 2001
dc8c34
From: Mark Reynolds <mreynolds@redhat.com>
dc8c34
Date: Wed, 6 May 2015 15:08:22 -0400
dc8c34
Subject: [PATCH 322/323] Ticket 48158 - Remove cleanAllRUV task limit of 4
dc8c34
dc8c34
Bug Description:  There is a limit of 4 concurrent tasks, and this is too
dc8c34
                  low of a limit.
dc8c34
dc8c34
Fix Description:  There still needs to be a limit because each task creates
dc8c34
                  a new thread.  Setting limit to 64.
dc8c34
dc8c34
https://fedorahosted.org/389/ticket/48158
dc8c34
dc8c34
Reviewed by: rmeggins(Thanks!)
dc8c34
dc8c34
(cherry picked from commit cd8614a75852f4d05dc76d104867542f18384416)
dc8c34
(cherry picked from commit b97803f9797138a0d218ea2f2c6891fe798e2fcf)
dc8c34
---
dc8c34
 ldap/servers/plugins/replication/repl5.h | 2 +-
dc8c34
 1 file changed, 1 insertion(+), 1 deletion(-)
dc8c34
dc8c34
diff --git a/ldap/servers/plugins/replication/repl5.h b/ldap/servers/plugins/replication/repl5.h
dc8c34
index 10c0869..6cec248 100644
dc8c34
--- a/ldap/servers/plugins/replication/repl5.h
dc8c34
+++ b/ldap/servers/plugins/replication/repl5.h
dc8c34
@@ -649,7 +649,7 @@ void set_cleaned_rid(ReplicaId rid);
dc8c34
 void cleanruv_log(Slapi_Task *task, int rid, char *task_type, char *fmt, ...);
dc8c34
 char * replica_cleanallruv_get_local_maxcsn(ReplicaId rid, char *base_dn);
dc8c34
 
dc8c34
-#define CLEANRIDSIZ 4 /* maximum number for concurrent CLEANALLRUV tasks */
dc8c34
+#define CLEANRIDSIZ 64 /* maximum number for concurrent CLEANALLRUV tasks */
dc8c34
 
dc8c34
 typedef struct _cleanruv_data
dc8c34
 {
dc8c34
-- 
dc8c34
1.9.3
dc8c34