Bug 1186121
| 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.5.3 | CC: | bugs, byarlaga, gluster-bugs, kdhananj, mpillai, ndevos, nsathyan, pkarampu, rcyriac, spandura, storage-qa-internal, waldon-redhat | 
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.5.4 | Doc Type: | Bug Fix | 
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1179169 | Environment: | |
| Last Closed: | 2015-06-03 21:09:03 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: | |||
| 
        
          Description
        
        
          Krutika Dhananjay
        
        
        
        
        
          2015-01-27 06:29:41 UTC
        
       REVIEW: http://review.gluster.org/9496 (cluster/dht: Fix incorrect updates to parent times) posted (#1) for review on release-3.5 by Krutika Dhananjay (kdhananj) REVIEW: http://review.gluster.org/9497 (performance/md-cache: Initialise local->loc before winding nameless lookup) posted (#1) for review on release-3.5 by Krutika Dhananjay (kdhananj) COMMIT: http://review.gluster.org/9497 committed in release-3.5 by Niels de Vos (ndevos) ------ commit c0419befa9d0d470a921863cd700d778ce5da194 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/9476 That way, in the cbk, the latest values are updated in the cache. Change-Id: I3f8701d7043f06f512364e20c4456f254776cba7 BUG: 1186121 Signed-off-by: Krutika Dhananjay <kdhananj> Reviewed-on: http://review.gluster.org/9497 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Niels de Vos <ndevos> REVIEW: http://review.gluster.org/9504 (cluster/afr: When parent and entry read subvols are different, set entry->inode to NULL) posted (#1) for review on release-3.5 by Krutika Dhananjay (kdhananj) REVIEW: http://review.gluster.org/9504 (cluster/afr: When parent and entry read subvols are different, set entry->inode to NULL) posted (#2) for review on release-3.5 by Krutika Dhananjay (kdhananj) REVIEW: http://review.gluster.org/9504 (cluster/afr: When parent and entry read subvols are different, set entry->inode to NULL) posted (#3) for review on release-3.5 by Krutika Dhananjay (kdhananj) COMMIT: http://review.gluster.org/9504 committed in release-3.5 by Niels de Vos (ndevos) ------ commit bb2df4e63fa8a5d65f18b4a5efc757e8d475fbff Author: Krutika Dhananjay <kdhananj> Date: Thu Jan 22 17:02:20 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. Additionally, directory write fops as well as LOOKUP have been made to unwind parent attributes from parent's read child in AFR. Change-Id: I9fca49fa91cc3a65f53db855fedb90b08f1ca7f4 BUG: 1186121 Signed-off-by: Krutika Dhananjay <kdhananj> Reviewed-on: http://review.gluster.org/9504 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu> Tested-by: Pranith Kumar Karampuri <pkarampu> COMMIT: http://review.gluster.org/9496 committed in release-3.5 by Niels de Vos (ndevos) ------ commit 4b3981d2c9b4cafa24398765b3d0c8a4d45d43b1 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: I1388e374c8a2029f3b8919380e68620e7591bde6 BUG: 1186121 Signed-off-by: Krutika Dhananjay <kdhananj> Reviewed-on: http://review.gluster.org/9496 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu> Reviewed-by: Shyamsundar Ranganathan <srangana> Reviewed-by: Niels de Vos <ndevos> 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.5.4, please reopen this bug report. glusterfs-3.5.4 has been announced on the Gluster Packaging mailinglist [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://thread.gmane.org/gmane.comp.file-systems.gluster.packaging/2 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |