Hide Forgot
In afr, data self heal will happen only in open or fd based fops but can perform it in lookup itself. This change is brought in number of back-ground self-heals allowed is 16 and lookups block self-heal is completed. We want to prevent blocking in fops. We can not lookups independent of self-heal frames because when there are gfid the decision of which file is correct is determined in self-heal So in afr, lookup self-heal is going to guarantee name space and open/fd fops will take responsibility for data consistency, are non blocking.
CHANGE: http://review.gluster.com/333 (This is brought in an effort to be nice to the system resources when) merged in master by Anand Avati (avati)
CHANGE: http://review.gluster.com/334 (By default, lookup triggers data self-heal but that is not the preferred way) merged in master by Anand Avati (avati)
Its fixed now. Checked with glusterfs-3.3.0qa10. Created a replicate volume, and did this. gluster volume set <volname> data-self-heal open gluster volume set <volname> self-heal-daemon off mounted the volume and touched a file. Brought one of the servers down, wrote some data to the file. Bought the server up. Doing ls or stat on the file did not heal it. When I did cat on the file, it's data got healed.