[Bugs] [Bug 1153904] self heal info logs are filled with messages reporting ENOENT while self-heal is going on

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 21 15:41:29 UTC 2014


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8937 committed in release-3.5 by Niels de Vos
(ndevos at redhat.com) 
------
commit 946eecfff75d7c9f4df3890ce57311386fe6e994
Author: Ravishankar N <root at ravi3.(none)>
Date:   Fri Oct 17 10:58:06 2014 +0000

    protocol/client: change log level for lookup

    Problem:
    On 3.5 branch, http://review.gluster.org/8294 causes the server to return
ENOENT
    (as opposed to ESTALE in master branch) if file does not exist. When AFR
does
    entry self-heals (either from the mount or shd or by the `heal info`
command), it
    does a gfid-lookup with loc.name == NULL, causing the corresponding log
file to be
    flooded with messages like this:

    [2014-10-15 11:12:57.405428] W
[client-rpc-fops.c:2761:client3_3_lookup_cbk]
    0-testvol-client-1: remote operation failed: No such file or directory.
Path:
    <gfid:760b4427-2fb9-4a67-9f55-e8e8d78e452f>
    (760b4427-2fb9-4a67-9f55-e8e8d78e452f)

    Fix:
    Change log level for ENOENT and ESTALE errors to DEBUG

    Change-Id: Ideb88d9cb609d077e02efe703cd28155985d7513
    BUG: 1153904
    Signed-off-by: Ravishankar N <root at ravi3.(none)>
    Reviewed-on: http://review.gluster.org/8937
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.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=sAibY0aW8M&a=cc_unsubscribe


More information about the Bugs mailing list