Description of problem: When update-size-version fails on a file, application may not know that the file is in bad state even when it does fsync. Version-Release number of selected component (if applicable): How reproducible: Not easy to reproduce. An unaligned write operation should succeed partially and at the time of update-size-version all the bricks should be down. When the next write happens on that stripe it can lead to bad read-modify-write. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
REVIEW: https://review.gluster.org/23355 (cluster/ec: Fail fsync/flush for files on update size/version failure) posted (#1) for review on master by Pranith Kumar Karampuri
REVIEW: https://review.gluster.org/23355 (cluster/ec: Fail fsync/flush for files on update size/version failure) merged (#5) on master by Pranith Kumar Karampuri
REVIEW: https://review.gluster.org/23382 (cluster/ec: Fix coverity issues) posted (#1) for review on master by Pranith Kumar Karampuri
REVIEW: https://review.gluster.org/23382 (cluster/ec: Fix coverity issues) merged (#1) on master by Pranith Kumar Karampuri