r22084: use a TDB_INTERNAL tdb for the local ctdb tdb for now
authorAndrew Tridgell <tridge@samba.org>
Thu, 5 Apr 2007 04:20:55 +0000 (04:20 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:49:49 +0000 (14:49 -0500)
(This used to be commit e2fe45cf4073b68e2a1c6577928d0765e26f3267)

source4/cluster/ctdb/ctdb_cluster.c

index 4892f3e1737f7b13f0255523389ae4902eecd5d1..ceff53ee5df0ee7ae73ef09fd4ad371994f993c5 100644 (file)
@@ -259,7 +259,7 @@ void cluster_ctdb_init(struct event_context *ev)
        /* attach all the databases we will need */
        for (i=0;i<ARRAY_SIZE(db_list);i++) {
                struct ctdb_db_context *ctdb_db;
-               ctdb_db = ctdb_attach(state->ctdb, db_list[i], TDB_DEFAULT
+               ctdb_db = ctdb_attach(state->ctdb, db_list[i], TDB_INTERNAL
                                      O_RDWR|O_CREAT|O_TRUNC, 0666);
                if (ctdb_db == NULL) goto failed;
        }