On 02/26/2014 07:42 PM, Zhang Huan
wrote:
Hello guys,
Anyone know about my question?
Out of the two correct replicas, gluster will pick the first healthy
replica brick as source [see afr_sh_select_source()]. If that brick
is truncated at the back-end due to 'underlying correction' (not
sure what that means), then yes I'm afraid it will still be
considered as correct source and you would get zero byte file in
other 2 bricks because of the healing.
The changelog extended attributes are marked by AFR based on the
result of whether the file operation succeeded or not on each of the
replica. It uses those attributes to determine the source/sink.
Direct modification of the file at the brick will invalidate any
meaning that the changelog holds.
Thanks,
Ravi
_______________________________________________
Gluster-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/gluster-devel
|