summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-entry.c
diff options
context:
space:
mode:
authorAnuradha <atalur@redhat.com>2014-06-01 19:14:47 +0530
committerNiels de Vos <ndevos@redhat.com>2014-11-13 01:27:33 -0800
commita91f38ee0f939b0f7e424e9dca14468a00e0d58d (patch)
tree4a1bb4f96f6ecbd353348779bc8d82f926cc15f4 /xlators/cluster/afr/src/afr-self-heal-entry.c
parentbe560c6f41ab50f023606f0f8a3de189ee94f583 (diff)
afr : Logging improvement
In case of a split brain, adding the type of split brain that might have occurred. Added a few details to entry-self-heal in self-heal completion status. Change-Id: Ie99e2ecdd8aa5b1c57d7d4515d33a17dfa0c67ad BUG: 1101138 Signed-off-by: Anuradha <atalur@redhat.com> Reviewed-on: http://review.gluster.org/7870 Reviewed-by: Ravishankar N <ravishankar@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-entry.c')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-entry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-entry.c b/xlators/cluster/afr/src/afr-self-heal-entry.c
index 5db11bb72fe..95398ccc5de 100644
--- a/xlators/cluster/afr/src/afr-self-heal-entry.c
+++ b/xlators/cluster/afr/src/afr-self-heal-entry.c
@@ -2261,6 +2261,7 @@ afr_sh_entry_sync_prepare (call_frame_t *frame, xlator_t *this)
sh->actual_sh_started = _gf_true;
afr_set_self_heal_status (sh, AFR_SELF_HEAL_SYNC_BEGIN);
+ afr_set_sh_info_str (local, sh, AFR_SELF_HEAL_ENTRY, this);
afr_sh_entry_open (frame, this);
return 0;