diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2008-05-22 18:33:54 +1000 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2008-05-22 18:33:54 +1000 |
commit | 52e44b37e2b376f0badd1111eb01b53d36d54a74 (patch) | |
tree | f6ad5fecdf2c47da41e08a2ec5510dcdb1daa783 /ctdb/common/ctdb_ltdb.c | |
parent | 0941019cb7061e25587fc423a37130b1aacd9fe9 (diff) | |
download | samba-52e44b37e2b376f0badd1111eb01b53d36d54a74.tar.gz |
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)
Diffstat (limited to 'ctdb/common/ctdb_ltdb.c')
-rw-r--r-- | ctdb/common/ctdb_ltdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")); |