Blame SOURCES/0056-Ticket-49313-Change-the-retrochangelog-default-cache.patch

1c155e
From 0fc3c803c34311eb05c5c7a7e710c8591b592649 Mon Sep 17 00:00:00 2001
1c155e
From: Thierry Bordaz <tbordaz@redhat.com>
1c155e
Date: Thu, 27 Jul 2017 18:10:05 +0200
1c155e
Subject: [PATCH] Ticket 49313 - Change the retrochangelog default cache size
1c155e
1c155e
Bug Description:
1c155e
    Default retroCL backend entry cache size is 2Mb.
1c155e
    It has been reported in many deployments that DB corruption could
1c155e
    be prevented by increasing entry cache to 200Mb.
1c155e
    There is no identified reproducible steps to debug this DB corruption.
1c155e
    So to prevent this problem we are increasing the entry cache
1c155e
1c155e
Fix Description:
1c155e
    Set default cn=changelog cache to 200Mb (based on production cases)
1c155e
    An other option would be to set a maximum number of entries but
1c155e
    as we do not know if it works to prevent DB corruption, let's prefere
1c155e
    entry cache size
1c155e
1c155e
https://pagure.io/389-ds-base/issue/49313
1c155e
1c155e
Reviewed by: William Brown
1c155e
1c155e
Platforms tested: F23
1c155e
1c155e
Flag Day: no
1c155e
1c155e
Doc impact: no
1c155e
---
1c155e
 ldap/servers/plugins/retrocl/retrocl.h | 2 +-
1c155e
 1 file changed, 1 insertion(+), 1 deletion(-)
1c155e
1c155e
diff --git a/ldap/servers/plugins/retrocl/retrocl.h b/ldap/servers/plugins/retrocl/retrocl.h
1c155e
index 6963d4b..eef1a17 100644
1c155e
--- a/ldap/servers/plugins/retrocl/retrocl.h
1c155e
+++ b/ldap/servers/plugins/retrocl/retrocl.h
1c155e
@@ -58,7 +58,7 @@ typedef struct _cnumRet {
1c155e
 #else
1c155e
 #define RETROCL_DLL_DEFAULT_THREAD_STACKSIZE 131072L
1c155e
 #endif
1c155e
-#define RETROCL_BE_CACHEMEMSIZE  "2097152"
1c155e
+#define RETROCL_BE_CACHEMEMSIZE  "209715200"
1c155e
 #define RETROCL_BE_CACHESIZE "-1"
1c155e
 #define RETROCL_PLUGIN_NAME "DSRetroclPlugin"
1c155e
 
1c155e
-- 
1c155e
2.9.4
1c155e