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

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 22 07:32:45 UTC 2014


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



--- Comment #4 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8960 committed in release-3.5 by Niels de Vos
(ndevos at redhat.com) 
------
commit 5fff385333db750561ffd026af09e52a8c8c16e6
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Tue Oct 21 16:18:16 2014 +0530

    logs: Do selective logging for errnos

            Backport of http://review.gluster.org/8918
                        http://review.gluster.org/8955

    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.

    BUG: 1155073
    Change-Id: Icf06f2fc4f2f91e199de24a88bcb0ce9b8955ebd
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/8960
    Reviewed-by: Krutika Dhananjay <kdhananj 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=7n7RUbfMtf&a=cc_unsubscribe


More information about the Bugs mailing list