Bug 1186119
Summary: | tar on a gluster directory gives message "file changed as we read it" even though no updates to file in progress | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Krutika Dhananjay <kdhananj> |
Component: | replicate | Assignee: | Krutika Dhananjay <kdhananj> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.6.1 | CC: | bugs, byarlaga, kdhananj, mpillai, nsathyan, pkarampu, rabhat, rcyriac, spandura, storage-qa-internal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-v3.6.3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1179169 | Environment: | |
Last Closed: | 2016-02-04 15:21:33 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: | 1179169 | ||
Bug Blocks: | 1184460 |
Description
Krutika Dhananjay
2015-01-27 06:28:04 UTC
REVIEW: http://review.gluster.org/9490 (cluster/dht: Fix incorrect updates to parent times) posted (#1) for review on release-3.6 by Krutika Dhananjay (kdhananj) REVIEW: http://review.gluster.org/9491 (performance/md-cache: Initialise local->loc before winding nameless lookup) posted (#1) for review on release-3.6 by Krutika Dhananjay (kdhananj) REVIEW: http://review.gluster.org/9491 (performance/md-cache: Initialise local->loc before winding nameless lookup) posted (#2) for review on release-3.6 by Krutika Dhananjay (kdhananj) REVIEW: http://review.gluster.org/9562 (cluster/afr: When parent and entry read subvols are different, set entry->inode to NULL) posted (#1) for review on release-3.6 by Krutika Dhananjay (kdhananj) COMMIT: http://review.gluster.org/9490 committed in release-3.6 by Raghavendra Bhat (raghavendra) ------ commit 67582c9a5cf95de71477965e788be6c2e5b74142 Author: Krutika Dhananjay <kdhananj> Date: Fri Jan 16 14:26:45 2015 +0530 cluster/dht: Fix incorrect updates to parent times Backport of: http://review.gluster.org/9457 In directory write FOPs, as far as updates to timestamps associated with parent by DHT is concerned, there are three possibilities: a) time (in sec) gotten from child of DHT < time (in sec) in inode ctx b) time (in sec) gotten from child of DHT = time (in sec) in inode ctx c) time (in sec) gotten from child of DHT > time (in sec) in inode ctx In case (c), for time in nsecs, it is the value returned by DHT's child that must be selected. But what DHT_UPDATE_TIME ends up doing is to choose the maximum of (time in nsec gotten from DHT's child, time in nsec in inode ctx). Change-Id: I1046bb7147ab48eca5c477be03ef2d4630e7752d BUG: 1186119 Signed-off-by: Krutika Dhananjay <kdhananj> Reviewed-on: http://review.gluster.org/9490 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu> Reviewed-by: Raghavendra Bhat <raghavendra> COMMIT: http://review.gluster.org/9491 committed in release-3.6 by Raghavendra Bhat (raghavendra) ------ commit 1a65f14feaa83f82043bf460b10550717e1adac2 Author: Krutika Dhananjay <kdhananj> Date: Thu Jan 22 12:57:10 2015 +0530 performance/md-cache: Initialise local->loc before winding nameless lookup Backport of: http://review.gluster.org/#/c/9476 Change-Id: I0611da7ae271baff7fd14d4a266a2c0e5e4a294a BUG: 1186119 Signed-off-by: Krutika Dhananjay <kdhananj> Reviewed-on: http://review.gluster.org/9491 Reviewed-by: Pranith Kumar Karampuri <pkarampu> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Raghavendra Bhat <raghavendra> REVIEW: http://review.gluster.org/9562 (cluster/afr: When parent and entry read subvols are different, set entry->inode to NULL) posted (#2) for review on release-3.6 by Krutika Dhananjay (kdhananj) COMMIT: http://review.gluster.org/9562 committed in release-3.6 by Raghavendra Bhat (raghavendra) ------ commit c57c455347a72ebf0085add49ff59aae26c7a70d Author: Krutika Dhananjay <kdhananj> Date: Thu Jan 22 13:53:47 2015 +0530 cluster/afr: When parent and entry read subvols are different, set entry->inode to NULL Backport of: http://review.gluster.org/#/c/9477 That way a lookup would be forced on the entry, and its attributes will always be selected from its read subvol. Change-Id: Iaba25e2cd5f83e983fc8b1a1f48da3850808e6b8 BUG: 1186119 Signed-off-by: Krutika Dhananjay <kdhananj> Reviewed-on: http://review.gluster.org/9562 Reviewed-by: Pranith Kumar Karampuri <pkarampu> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Raghavendra Bhat <raghavendra> 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-v3.6.3, please open a new bug report. glusterfs-v3.6.3 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/2015-April/021669.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |