[sheepdog] strange behavior after restart sheeps - potential loss of data

Jens WEBER jweber at tek2b.org
Tue Jul 17 17:06:38 CEST 2012


I can't explain, update to my newest version 0.4.0-0+tek2b-4 and it works !? Downgrade to 0.4.0-0+tek2b-3 and I have the problem. Any idea?

sheepdog (0.4.0-0+tek2b-4) testing; urgency=low

  * add sheep pidfile option to startup init.d script
    Thanks to Dietmar Maurer and Liu Yuan

    - add pidfile option in man page sheep.8
    - sheep: add option to create pid file

 -- Jens Weber <jweber at tek2b.de>  Tue, 17 Jul 2012 12:51:27 +0200

sheepdog (0.4.0-0+tek2b-3) testing; urgency=low

  * minior updates from upstream
    - recvoery: don't do recovery when it's a gateway only node
    - sheep: merge object_cache_rw into object_cache_handle_request
    - sheep: simplify object_cache_write
    - sheep: simplify object_cache_read
    - sheep: factor cache update out of object_cache_rw
    - sheep: log a message when retrying requests
    - sheep: improve cluster request debugging
    - sheep: print symbolic command names
  * add /etc/logrotate.d/sheepdog

 -- Jens Weber <jweber at tek2b.de>  Tue, 17 Jul 2012 06:33:14 +0200

> what I've done
> 
> root at sheep01:/home/jens/sheepdog/debian# collie cluster format -H -c 1 
> using backend farm store
> root at sheep01:/home/jens/sheepdog/debian# collie vdi create  test 50M -P
> root at sheep01:/home/jens/sheepdog/debian# collie node info
> Id	Size	Used	Use%
>  0	238 MB	32 MB	 13%
>  1	238 MB	24 MB	 10%
> Total	475 MB	56 MB	 11%
> 
> Total virtual image size	50 MB
> root at sheep01:/home/jens/sheepdog/debian# /etc/init.d/sheepdog stop
> [ ok ] Stopping sheepdog: sheepdog.
> root at sheep01:/home/jens/sheepdog/debian# /etc/init.d/sheepdog start
> [ ok ] Starting sheepdog : sheepdog.
> root at sheep01:/home/jens/sheepdog/debian# collie node info
> Id	Size	Used	Use%
>  0	238 MB	32 MB	 13%
>  1	238 MB	0.0 MB	  0% <---- strange, isn't it
> Total	475 MB	32 MB	  6%
> 
> Total virtual image size	50 MB



More information about the sheepdog mailing list