From 6f7b158942da70ae8269533de7c8d97fde3de305 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Sat, 29 Dec 2012 18:45:51 +0100 Subject: [PATCH] report checksum in quorum --- core/legion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/legion.c b/core/legion.c index 403f9c8e..f7afedb6 100644 --- a/core/legion.c +++ b/core/legion.c @@ -205,7 +205,7 @@ struct uwsgi_legion_node *uwsgi_legion_get_lord(struct uwsgi_legion *); static void legions_report_quorum(struct uwsgi_legion *ul, uint64_t best_valor, char *best_uuid) { struct uwsgi_legion_node *nodes = ul->nodes_head; - uwsgi_log("\n[uwsgi-legion] --- WE HAVE QUORUM FOR LEGION %s !!! (valor: %llu uuid: %.*s) ---\n", ul->legion, best_valor, 36, best_uuid); + uwsgi_log("\n[uwsgi-legion] --- WE HAVE QUORUM FOR LEGION %s !!! (valor: %llu uuid: %.*s checksum: %llu) ---\n", ul->legion, best_valor, 36, best_uuid, ul->checksum); while (nodes) { uwsgi_log("[uwsgi-legion-node] node: %.*s valor: %llu uuid: %.*s last_seen: %d vote_valor: %llu vote_uuid: %.*s\n", nodes->name_len, nodes->name, nodes->valor, 36, nodes->uuid, nodes->last_seen, nodes->lord_valor, 36, nodes->lord_uuid); nodes = nodes->next;