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