[Bugs] [Bug 1141558] AFR : "gluster volume heal <volume_name> info" prints some random characters

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 23 08:17:01 UTC 2014


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



--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8711 committed in release-3.5 by Niels de Vos
(ndevos at redhat.com) 
------
commit 6470b905e2e9e5e3f7a6b1541358b9607efa4b74
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Sun Sep 14 13:46:33 2014 +0000

    heal:Do not ignore return value of syncop_getxattr()

    Problem:
    In glfs-heal.c, we are currently ignoring the return value of
    syncop_getxattr() in glfsh_process_entries(). This can cause random
characters
    to be printed in the heal-info command when stale entries are present in
    indices/xattrop directory.

    Fix:
    Check and purge stale entries instead of printing them, depending on the
'ret'
    value of syncop_getxattr().

    Change-Id: I6c87f3ab3fecde48cdbf7578a85782a1d2f1d55b
    BUG: 1141558
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-on: http://review.gluster.org/8711
    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=Del6K8wPW4&a=cc_unsubscribe


More information about the Bugs mailing list