From f6a3c541941df6fd19ef57185aca5c4bcec2dec3 Mon Sep 17 00:00:00 2001 From: Ravishankar N Date: Fri, 23 Sep 2016 15:16:46 +0530 Subject: afr: Modifications to afr events Modified afr event message to add a 'type' key as detailed in the BZ. Also added events for data and metadata split-brain. Change-Id: I8156674b4b6a501499fc10fd68e05115fdaef3e4 BUG: 1378072 Signed-off-by: Ravishankar N Reviewed-on: http://review.gluster.org/15550 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Pranith Kumar Karampuri --- xlators/cluster/afr/src/afr-self-heal-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/cluster/afr/src/afr-self-heal-common.c') diff --git a/xlators/cluster/afr/src/afr-self-heal-common.c b/xlators/cluster/afr/src/afr-self-heal-common.c index 6b852bf2e78..556bc5d250e 100644 --- a/xlators/cluster/afr/src/afr-self-heal-common.c +++ b/xlators/cluster/afr/src/afr-self-heal-common.c @@ -1655,7 +1655,7 @@ afr_selfheal_unlocked_inspect (call_frame_t *frame, xlator_t *this, priv->children[i]->name, uuid_utoa (replies[i].poststat.ia_gfid)); gf_event (EVENT_AFR_SPLIT_BRAIN, "subvol=%s;" - "msg=file type mismatch;gfid=%s;" + "type=file;gfid=%s;" "ia_type-%d=%s;ia_type-%d=%s", this->name, uuid_utoa (replies[i].poststat.ia_gfid), first, -- cgit