[sheepdog] [PATCH] recovery: free recovery info before stopping recovery

MORITA Kazutaka morita.kazutaka at gmail.com
Mon Aug 26 13:19:04 CEST 2013


At Mon, 26 Aug 2013 17:16:53 +0800,
Liu Yuan wrote:
> 
> On Mon, Aug 26, 2013 at 06:07:00PM +0900, MORITA Kazutaka wrote:
> > From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> > 
> > Without this patch, the recovery thread cannot start the next recovery
> > and the stopped recovery cannot start any more.
> 
> This is a very fatal problem, I am a bit surprised that our tests/functional
> can't detect it. Coud you too add a test to pronouce the problem?

The tests/functional 008 detects it in rare cases.  It's difficult to
reproduce the problem because, after sheep received
SD_RES_OLD_NODE_VER, run_next_rw() usually returns true in
recover_object_main().

Thanks,

Kazutaka



More information about the sheepdog mailing list