Description of problem: Currently, when a brick dies or something fails in the middle of an update it's not possible to know if the modification was really applied or not. This can lead to corrupted data when, on a future read, it's assumed that the data has not been modified if the version xattr has not been incremented. Version-Release number of selected component (if applicable): mainline How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
REVIEW: http://review.gluster.org/9607 (ec: Add trusted.ec.dirty xattr) posted (#1) for review on master by Xavier Hernandez (xhernandez)
REVIEW: http://review.gluster.org/9607 (ec: Add trusted.ec.dirty xattr) posted (#2) for review on master by Xavier Hernandez (xhernandez)
COMMIT: http://review.gluster.org/9607 committed in master by Vijay Bellur (vbellur) ------ commit 46a2b9e48160c593a73756d91781298144528e50 Author: Xavier Hernandez <xhernandez> Date: Mon Feb 9 09:26:46 2015 +0100 ec: Add trusted.ec.dirty xattr This xattr will be incremented before each data modifying operation and decremented after it. This will add the possibility to detect partially updated writes and refuse them on reads. It will also be useful for interacting with index xlator and have a way to heal dispersed files from the self-heal daemon. Change-Id: Ie644a8dd074ae0f254c809c5863bdb030be5486a BUG: 1190581 Signed-off-by: Xavier Hernandez <xhernandez> Reviewed-on: http://review.gluster.org/9607 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu> Reviewed-by: Vijay Bellur <vbellur>
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.0, please open a new bug report. glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user