[Gluster-devel] Automated split-brain resolution

Harshavardhana harsha at harshavardhana.net
Fri Aug 8 20:05:26 UTC 2014


On Fri, Aug 8, 2014 at 12:53 PM, Joe Julian <joe at julianfamily.org> wrote:
> Thinking about it more, I'd still rather have this functionality exposed at
> the client through xattrs. For 5 years I've thought about this, and the more
> I encounter split-brain, the more I think this is the needed approach.
>
> "getfattr -n trusted.glusterfs.stat" returns
> xml/json/some_madeup_datastructure with the results of stat from each brick
> "getfattr -n trusted.glusterfs.afr" returns the afr matrix
> "setfattr -n trusted.glusterfs.sb-pick -v "server2:/srv/brick1"
>
> That gives us the tools we need to choose what to do with any given
> split-brain. For large swaths of automated repair, we can use find.
>
> I suppose that last bit could still be implemented through that cli command.

Even this makes sense, my overall pain point was the proposed CLI isn't solving
anything worthwhile.

-- 
Religious confuse piety with mere ritual, the virtuous confuse
regulation with outcomes


More information about the Gluster-devel mailing list