summaryrefslogtreecommitdiffstats
path: root/ctdb/server/ctdb_daemon.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2009-10-12 12:08:39 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2009-10-12 12:08:39 +1100
commit73c0adb0290ff8047ad0f40134a8a7e2671d1158 (patch)
tree871e20ba40cd165007e11db96ae35faeb51ce5fa /ctdb/server/ctdb_daemon.c
parentd4c98516a23515632bf3fa3458c8cc342e63d7da (diff)
downloadsamba-73c0adb0290ff8047ad0f40134a8a7e2671d1158.tar.gz
samba-73c0adb0290ff8047ad0f40134a8a7e2671d1158.tar.xz
samba-73c0adb0290ff8047ad0f40134a8a7e2671d1158.zip
initial attempt at freezing databases in priority order
(This used to be ctdb commit e8d692590da1070c87a4144031e3306d190ebed2)
Diffstat (limited to 'ctdb/server/ctdb_daemon.c')
-rw-r--r--ctdb/server/ctdb_daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_daemon.c b/ctdb/server/ctdb_daemon.c
index fcfba669a0..0af3bc1836 100644
--- a/ctdb/server/ctdb_daemon.c
+++ b/ctdb/server/ctdb_daemon.c
@@ -733,7 +733,7 @@ int ctdb_start_daemon(struct ctdb_context *ctdb, bool do_fork)
}
/* start frozen, then let the first election sort things out */
- if (!ctdb_blocking_freeze(ctdb)) {
+ if (ctdb_blocking_freeze(ctdb)) {
ctdb_fatal(ctdb, "Failed to get initial freeze\n");
}