[sheepdog] [PATCH] zookeeper: fix bug when update queue_pos

Liu Yuan namei.unix at gmail.com
Thu Mar 12 02:55:09 CET 2015


On Wed, Mar 11, 2015 at 11:26:45PM +0800, Meng Lingkun wrote:
> The znode of a sheep(queue_pos/$sheep_id) in queue_pos will be created
> after the sheep is accept. However, if the znode's seq in queue with
> type EVENT_ACCEPT % DEL_QUEUE_BATCH == 0, zookeeper driver will update
> the queue_pos/$sheep_id before queue_pos/$sheep_id is created. So fix it.
> 
> Signed-off-by: Meng Lingkun <menglingkun at cmss.chinamobile.com>

Applied, thanks.

Yuan



More information about the sheepdog mailing list