[sheepdog] [PATCH 0/3] fix master transfers

Liu Yuan namei.unix at gmail.com
Wed Aug 8 09:04:32 CEST 2012


On 08/07/2012 11:15 PM, Christoph Hellwig wrote:
> A newly joining nod with a higher epoch than the one on the current
> master gets a CJ_RES_MASTER_TRANSFER which should make it take over
> mastership.  Currently this case only kills the current master which
> might cause incorrect epoch log entries on other nodes and thus cause
> additional crashes down the road.
> 
> This series makes sure all nodes die in this case and can be restarted
> by the mangement tool so that we can get back to a healthy cluster
> quickly.  I'd love to be able to totall reset the state inside a sheep
> daemon for this case, but so fat I havenot found an easy way for it.

This patch set seems to fail most of test script in sdog-tests/cluster/*.sh

Thanks,
Yuan



More information about the sheepdog mailing list