Red Hat Bugzilla – Bug 841840
replicate fix-open should consider O_TRUNC flag.
Last modified: 2013-07-24 13:43:13 EDT
Description of problem:
When open was done while a brick is down, afr opens the file after
the brick comes backup. If this happens after the self-heal on the file
is completed by self-heald etc, the file will end up in truncated state.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
CHANGE: http://review.gluster.com/3705 (cluster/afr: Filter O_TRUNC in afr-fix-open) merged in master by Anand Avati (firstname.lastname@example.org)
Don't see it in 3.3 branch, so still MODIFIED.
CHANGE: http://review.gluster.org/4147 (cluster/afr: Filter O_TRUNC in afr-fix-open) merged in release-3.3 by Vijay Bellur (email@example.com)