[Bugs] [Bug 1151303] Excessive logging in the self-heal daemon after a replace-brick

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 21 05:53:17 UTC 2014


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



--- Comment #4 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8918 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 5ac067e560696410c059b21ca039f74687c62e7a
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Fri Oct 10 09:51:28 2014 +0530

    logs: Do selective logging for errnos

    Problem:
    Just after replace-brick the mount logs are filled with ENOENT/ESTALE
    warning logs because the file is yet to be self-healed now that the
    brick is new.

    Fix:
    Do conditional logging for the logs. ENOENT/ESTALE will be logged at
    lower log level. Only when debug logs are enabled, these logs will
    be written to the logfile.

    Change-Id: If203d09e2479e8c2415ebc14fb79d4fbb81dfc95
    BUG: 1151303
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/8918
    Reviewed-by: Krutika Dhananjay <kdhananj at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-by: Vijay Bellur <vbellur 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=O5XcqrpfHJ&a=cc_unsubscribe


More information about the Bugs mailing list