[Gluster-devel] solutions for split brain situation

Stephan von Krawczynski skraw at ithnet.com
Mon Sep 14 12:06:49 UTC 2009


Hello all,

we have seen several split brain situations and think that the most common
option for the situation is simply missing. You can define a favourite child,
but you cannot define to use the latest file copy as definitive. Why not?
Isn't it a logical approach to say that the latest copy of a file based on
mtime must be the most up-to-date and therefore being used in split brain
recovery?
Currently it seems that there is no real choice besides a defined favourite
child, the file action is only distributed between the children, which means
you just get a subset of old file copies.
I'd say the solution has to be placed somewhere at
xlators/cluster/afr/src/afr-self-heal-data.c lines 855 ff.
I have no idea though how to find out what the latest copy is ...
Comments?
-- 
Regards,
Stephan





More information about the Gluster-devel mailing list