When one of the file has replicate xattrs set to all zero (All is well) and when the corresponding file does not have any xattrs set (FOOL?). What is the expected behavior? Currently it does not self-heal.
If you stat this file, what you get? The files current data or a input/output error? Anyway I believe self heal should occur from the "All is well" to the "FOOL" bricks.
CHANGE: http://review.gluster.com/3088 (cluster/afr: Determining sources should do both fxattrop, fstat) merged in master by Anand Avati (avati)
CHANGE: http://review.gluster.com/3089 (cluster/afr: Mark zero size file as sink in absense of xattrs.) merged in master by Anand Avati (avati)
CHANGE: http://review.gluster.com/3090 (cluster/afr: Handle files w.o. xattrs and size mismatch.) merged in master by Anand Avati (avati)
CHANGE: http://review.gluster.com/3091 (cluster/afr: Perform conservative merge on dir with xattr split-brain) merged in master by Anand Avati (avati)
In what release are these changes expected to first appear?
Rodrigo, The fixes are present in 3.2.7 Pranith.