freeze: abort vacuuming when we're going to freeze.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Jul 2010 02:59:55 +0000 (12:29 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 18 Aug 2010 01:24:28 +0000 (10:54 +0930)
commitf5d7dc679501e607c2c83a248a89d3cada9df146
treebf6c5663988bfdcb6174a0e441e2b0ca929261af
parenta69916d0687309766b0014dc9cee6a966aaa89da
freeze: abort vacuuming when we're going to freeze.

There are some reports of freeze timeouts, and it looks like vacuuming might
be the culprit.  So we add code to tell them to abort when a freeze is
going on.

(This is based on the 1.0.112 branch version 517f05e42f, but far
 simpler since tdb is now robust against processes being killed during
 transaction commit)

CQ:S1018154 & S1018349
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/ctdb_private.h
server/ctdb_freeze.c
server/ctdb_vacuum.c