[sheepdog] [PATCH stable-0.7 2/2] sheep: changed end of auto-recovery message to notice
Hitoshi Mitake
mitake.hitoshi at lab.ntt.co.jp
Fri Feb 7 02:55:22 CET 2014
From: Yoshinori Matsuo <matsuo.yoshinori at lab.ntt.co.jp>
Sheep output the end of auto-recovery log message (all nodes are recovered)
at DEBUG level.
When sheep nodes are working in the INFO level or upper,
the operator could not get this message
even if operators want to know the completion of auto-recovery.
This patch raised the log message to the NOTICE level.
Signed-off-by: Yoshinori Matsuo <matsuo.yoshinori at lab.ntt.co.jp>
Reviewed-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
Conflicts:
sheep/ops.c
Conflicts were resolved by Hitoshi Mitake.
Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
---
sheep/ops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sheep/ops.c b/sheep/ops.c
index 1a35a21..d6ee016 100644
--- a/sheep/ops.c
+++ b/sheep/ops.c
@@ -659,7 +659,7 @@ static int cluster_recovery_completion(const struct sd_req *req,
break;
}
if (i == nr_recovereds) {
- sd_debug("all nodes are recovered, epoch %d", epoch);
+ sd_notice("all nodes are recovered, epoch %d", epoch);
/* sd_store can be NULL if this node is a gateway */
if (sd_store && sd_store->cleanup)
sd_store->cleanup();
--
1.7.10.4
More information about the sheepdog
mailing list