From 52e44b37e2b376f0badd1111eb01b53d36d54a74 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Thu, 22 May 2008 18:33:54 +1000 Subject: [PATCH] disable transactions for now, there are more situations where there are conflicting locks and the "net" command is not prepared that the persistent store can fail. (This used to be ctdb commit e07abdfbdb7963309898f0bf5382b8e951409f0a) --- ctdb/common/ctdb_ltdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/common/ctdb_ltdb.c b/ctdb/common/ctdb_ltdb.c index 886115abc60..5272927ffca 100644 --- a/ctdb/common/ctdb_ltdb.c +++ b/ctdb/common/ctdb_ltdb.c @@ -189,7 +189,7 @@ int ctdb_ltdb_persistent_store(struct ctdb_db_context *ctdb_db, TDB_DATA key, /* if this is a persistent database without NOSYNC then we will do this via a transaction */ - if (!(ctdb_db->client_tdb_flags & TDB_NOSYNC)) { + if (0 && !(ctdb_db->client_tdb_flags & TDB_NOSYNC)) { ret = tdb_transaction_start(ctdb_db->ltdb->tdb); if (ret != 0) { DEBUG(DEBUG_ERR, (__location__ " Failed to start local transaction\n")); -- 2.34.1