[Bugs] [Bug 1404905] DHT : file rename operation is successful but log has error 'key:trusted.glusterfs.dht.linkto error:File exists' , 'setting xattrs on <old_filename> failed (File exists)'

bugzilla at redhat.com bugzilla at redhat.com
Tue Jan 10 06:27:54 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/16185 committed in master by Raghavendra G
(rgowdapp at redhat.com) 
------
commit 167f417f73d7877e7b5ea5bf72e66964d463d4b6
Author: Mohit Agrawal <moagrawa at redhat.com>
Date:   Mon Dec 19 09:14:44 2016 +0530

    dht : file rename operation is successful but log has error File exists

    Problem: file rename operation is successful but log has error
             'key:trusted.glusterfs.dht.linkto error:File exists'

    Solution: The error comes in log only when file already has set this xattr
              (trusted.glusterfs.dht.linkto) before run rename operation and
              in that case sys_lsetxattr throws this kind of message.
              To avoid the error message in logs update the condition in
              posix_handle_pair.

    BUG: 1404905
    Change-Id: Iafd8cb45f9d7f4fe247e297a6ef0af978a8d0b30
    Signed-off-by: Mohit Agrawal <moagrawa at redhat.com>
    Reviewed-on: http://review.gluster.org/16185
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Raghavendra G <rgowdapp 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=cqAnDasOaH&a=cc_unsubscribe


More information about the Bugs mailing list