[Sheepdog] [PATCH] fix master selection race

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Thu Apr 8 13:08:49 CEST 2010


On Thu, 8 Apr 2010 20:03:08 +0900
FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> wrote:

> We wrongly assume that the node that joins corosync sends Sheepdog's
> JOIN message before the other nodes do. We hit a bug that two nodes
> are the master node temporarily.
> 
> This patch makes sure that the node that joins corosync will be always
> the master.

Oops, the second sentence should have been

This patch makes sure that the node that joins corosync first will be
always the master.




More information about the sheepdog mailing list