Bug 1404905
Summary: | 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)' | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Mohit Agrawal <moagrawa> |
Component: | distribute | Assignee: | Mohit Agrawal <moagrawa> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | mainline | CC: | bugs, kramdoss, moagrawa, mzywusko, nbalacha, pauyeung, racpatel, rgowdapp, rhs-bugs, sabansal, sbhaloth, smohan, spandura, storage-qa-internal, vbellur |
Target Milestone: | --- | Keywords: | Triaged, ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | dht-rca-unknown, dht-log, dht-qe-3.2, dht-3.2.0-proposed | ||
Fixed In Version: | glusterfs-3.10.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1282318 | Environment: | |
Last Closed: | 2017-03-06 17:39:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1030200, 1282318 | ||
Bug Blocks: |
Description
Mohit Agrawal
2016-12-15 03:46:39 UTC
REVIEW: http://review.gluster.org/16185 (dht : file rename operation is successful but log has error File exists) posted (#1) for review on master by MOHIT AGRAWAL (moagrawa) COMMIT: http://review.gluster.org/16185 committed in master by Raghavendra G (rgowdapp) ------ commit 167f417f73d7877e7b5ea5bf72e66964d463d4b6 Author: Mohit Agrawal <moagrawa> 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> Reviewed-on: http://review.gluster.org/16185 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Raghavendra G <rgowdapp> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.10.0, please open a new bug report. glusterfs-3.10.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/gluster-users/2017-February/030119.html [2] https://www.gluster.org/pipermail/gluster-users/ |