[sheepdog] [PATCH] local: update queue in correct order
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Sun Sep 9 18:03:09 CEST 2012
At Sat, 8 Sep 2012 12:05:10 +0900,
MORITA Kazutaka wrote:
>
> This updates the current queue position after writing queue data.
> Otherwise, if a sheep process exists during pushing data into the
> queue, other sheeps can read invalid data.
>
> Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> ---
> sheep/cluster/local.c | 32 ++++++++++++++++----------------
> 1 files changed, 16 insertions(+), 16 deletions(-)
Applied.
More information about the sheepdog
mailing list