Blame SOURCES/0087-Ticket-48420-change-severity-of-some-messages-relate.patch

3fe9c0
From 202bac76ade2dcff8318f545fbccdecaec3bdde8 Mon Sep 17 00:00:00 2001
3fe9c0
From: Thierry Bordaz <tbordaz@redhat.com>
3fe9c0
Date: Tue, 1 Mar 2016 11:14:54 +0100
3fe9c0
Subject: [PATCH] Ticket 48420: change severity of some messages related to
3fe9c0
 "keep alive" entries
3fe9c0
3fe9c0
Bug Description:
3fe9c0
	"keep alive" entries are used to prevent fractional replication
3fe9c0
	to evaluate several times the same skipped updates. (see https://fedorahosted.org/389/ticket/48266)
3fe9c0
3fe9c0
	This entry is created on the fly when two many evaluated
3fe9c0
	updates have been skipped. This is a quite common situation
3fe9c0
	and the creation of such entry is not a FATAL error
3fe9c0
3fe9c0
Fix Description:
3fe9c0
	Change the log level to replication level
3fe9c0
3fe9c0
https://fedorahosted.org/389/ticket/48420
3fe9c0
3fe9c0
Reviewed by: Ludwig Krispenz (thanks Ludwig)
3fe9c0
3fe9c0
Platforms tested: F17
3fe9c0
3fe9c0
Flag Day: no
3fe9c0
3fe9c0
Doc impact: no
3fe9c0
3fe9c0
(cherry picked from commit 6788445974404398bc02da8fa105b06514e8a450)
3fe9c0
(cherry picked from commit 17bb0688b9249693da0bda239fb7c3b35aa8e1c9)
3fe9c0
---
3fe9c0
 ldap/servers/plugins/replication/repl5_replica.c | 2 +-
3fe9c0
 1 file changed, 1 insertion(+), 1 deletion(-)
3fe9c0
3fe9c0
diff --git a/ldap/servers/plugins/replication/repl5_replica.c b/ldap/servers/plugins/replication/repl5_replica.c
3fe9c0
index 31c5f0f..c7cf25f 100644
3fe9c0
--- a/ldap/servers/plugins/replication/repl5_replica.c
3fe9c0
+++ b/ldap/servers/plugins/replication/repl5_replica.c
3fe9c0
@@ -492,7 +492,7 @@ replica_subentry_check(Slapi_DN *repl_root, ReplicaId rid)
3fe9c0
                     "Need to create replication keep alive entry <cn=%s %d,%s>\n", KEEP_ALIVE_ENTRY, rid, slapi_sdn_get_dn(repl_root));
3fe9c0
             rc = replica_subentry_create(repl_root, rid);
3fe9c0
         } else {
3fe9c0
-            slapi_log_error(SLAPI_LOG_FATAL, repl_plugin_name,
3fe9c0
+            slapi_log_error(SLAPI_LOG_REPL, repl_plugin_name,
3fe9c0
                     "replication keep alive entry <cn=%s %d,%s> already exists\n", KEEP_ALIVE_ENTRY, rid, slapi_sdn_get_dn(repl_root));
3fe9c0
             rc = 0;
3fe9c0
         }
3fe9c0
-- 
3fe9c0
2.4.3
3fe9c0