Bug 1396419
Summary: | [md-cache]: All bricks crashed while performing symlink and rename from client at the same time | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Poornima G <pgurusid> |
Component: | marker | Assignee: | bugs <bugs> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.7.15 | CC: | amukherj, ashah, avishwan, bugs, khiremat, madam, mvignesh, ndevos, rhinduja, rhs-bugs, rjoseph, sbhaloth, storage-qa-internal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.7.18 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1396418 | Environment: | |
Last Closed: | 2016-12-13 07:20:01 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: | 1387204, 1394131, 1396414, 1396418 | ||
Bug Blocks: |
Description
Poornima G
2016-11-18 09:37:08 UTC
REVIEW: http://review.gluster.org/15879 (marker: Fix inode value in loc, in setxattr fop) posted (#1) for review on release-3.7 by Poornima G (pgurusid) REVIEW: http://review.gluster.org/15879 (marker: Fix inode value in loc, in setxattr fop) posted (#2) for review on release-3.7 by Poornima G (pgurusid) COMMIT: http://review.gluster.org/15879 committed in release-3.7 by Rajesh Joseph (rjoseph) ------ commit 94f3b8d5f3e464580cda63c1cbad0c6f5ce00351 Author: Poornima G <pgurusid> Date: Fri Nov 11 12:08:57 2016 +0530 marker: Fix inode value in loc, in setxattr fop Backport of http://review.gluster.org/15826 On recieving a rename fop, marker_rename() stores the, oldloc and newloc in its 'local' struct, once the rename is done, the xtime marker(last updated time) is set on the file, but sending a setxattr fop. When upcall receives the setxattr fop, the loc->inode is NULL and it crashes. The loc->inode can be NULL only in one valid case, i.e. in rename case where the inode of new loc can be NULL. Hence, marker should have filled the inode of the new_loc before issuing a setxattr. > Reviewed-on: http://review.gluster.org/15826 > NetBSD-regression: NetBSD Build System <jenkins.org> > CentOS-regression: Gluster Build System <jenkins.org> > Reviewed-by: Kotresh HR <khiremat> > Smoke: Gluster Build System <jenkins.org> > Reviewed-by: Rajesh Joseph <rjoseph> (cherry picked from commit 46e5466850311ee69e6ae9a11c2bba2aabadd5de) Change-Id: Id638f678c3daaf4a5c29b970b58929d377ae8977 BUG: 1396419 Signed-off-by: Poornima G <pgurusid> Reviewed-on: http://review.gluster.org/15879 Reviewed-by: Rajesh Joseph <rjoseph> Smoke: Gluster Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> 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.7.18, please open a new bug report. glusterfs-3.7.18 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] https://www.gluster.org/pipermail/gluster-users/2016-December/029427.html [2] https://www.gluster.org/pipermail/gluster-users/ |