[Bugs] [Bug 1153629] AFR : excessive logging of "Non blocking entrylks failed" in glfsheal log file.

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 27 15:47:53 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1153629



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8965 committed in release-3.5 by Niels de Vos
(ndevos at redhat.com) 
------
commit a539b29c1c28dff78fa2314deafd2948f5f8ae1a
Author: Krutika Dhananjay <kdhananj at redhat.com>
Date:   Wed Oct 22 04:18:59 2014 +0530

    cluster/afr: Fix excessive logging in glfsheal log file

    Wrong afr_local_t instance was being used in the missing entry sh
    check in afr_self_heal(), which was leading to entrylk failure messages
    of the following kind in glfsheal logfile:

    [2014-10-21 12:39:04.109875] I
    [afr-self-heal-common.c:2146:afr_sh_post_nb_entrylk_missing_entry_sh_cbk]
    0-vol-replicate-1: Non blocking entrylks failed

    The fix involves sending the right "local" to
    afr_can_start_missing_entry_gfid_self_heal().

    After fixing this, there were two more codepaths giving out too many log
messages
    of the following kinds:

    [2014-10-21 22:19:29.568533] E
[afr-self-heal-data.c:1611:afr_sh_data_open_cbk]
    0-dis-rep-replicate-1: open of 8a858b02-0fc7-4713-9f61-8ca28dea82c0
    failed on child dis-rep-client-2 (Stale file handle)

    [2014-10-21 22:19:29.577948] E
[afr-self-heal-entry.c:2353:afr_sh_post_nonblocking_entry_cbk]
    0-dis-rep-replicate-1: Non Blocking entrylks failed for
ff9c82c4-5c0c-4ed9-b745-604a28dc352d.

    which are also fixed appropriately as part of this patch.

    Change-Id: Idd8d8e5735ee7a4ac36f369525f96e53276e0859
    BUG: 1153629
    Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-on: http://review.gluster.org/8965
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=W7qJC40iZc&a=cc_unsubscribe


More information about the Bugs mailing list