[sheepdog-users] [PATCH stable-0.8 15/22] sheep: changed end of auto-recovery message to notice
Hitoshi Mitake
mitake.hitoshi at lab.ntt.co.jp
Mon Feb 24 08:07:03 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>
---
sheep/ops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sheep/ops.c b/sheep/ops.c
index 113fc86..b743200 100644
--- a/sheep/ops.c
+++ b/sheep/ops.c
@@ -695,7 +695,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);
last_gathered_epoch = epoch;
/* sd_store can be NULL if this node is a gateway */
if (vnode_info->nr_zones >= ec_max_data_strip &&
--
1.7.10.4
More information about the sheepdog-users
mailing list