[Bugs] [Bug 1294588] Dist-geo-rep : geo-rep worker crashed while init with [Errno 34] Numerical result out of range.

bugzilla at redhat.com bugzilla at redhat.com
Fri Feb 26 10:12:24 UTC 2016


--- Comment #4 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13106 committed in master by Venky Shankar
(vshankar at redhat.com) 
commit 656a0e64e5f465561ed29297421ec150de32f2a1
Author: Aravinda VK <avishwan at redhat.com>
Date:   Tue Dec 29 11:20:39 2015 +0530

    geo-rep: Handle ERANGE error during listxattr

    llistxattr in Geo-rep is two syscall instead of one

    SIZE = llistxattr(PATH, &BUF, 0);
    BUF = create_buf(SIZE);
    _ = llistxattr(PATH, &BUF, SIZE);

    So if any new xattrs added just after first call by any other worker,
    second syscall will fail with ERANGE error.

    Now Geo-rep sends BUF with large size(256*100) and gets value
    with only one syscall. Raises OSError if fails with ERANGE error
    even after sending large BUF.

    Change-Id: I8ade4bbe9a0a8ea908ed9dedcd3f2ff4c6fe6f51
    Signed-off-by: Aravinda VK <avishwan at redhat.com>
    BUG: 1294588
    Reviewed-on: http://review.gluster.org/13106
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Kotresh HR <khiremat 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=E8LfmLZ7Do&a=cc_unsubscribe

More information about the Bugs mailing list