[SCM] CTDB repository - branch master updated - e07abdfbdb7963309898f0bf5382b8e951409f0a

Ronnie Sahlberg sahlberg at samba.org
Thu May 22 08:38:01 GMT 2008


The branch, master has been updated
       via  e07abdfbdb7963309898f0bf5382b8e951409f0a (commit)
      from  437752d002a108bcbbf6dc8bfb5dbf16dc5f1c58 (commit)

http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit e07abdfbdb7963309898f0bf5382b8e951409f0a
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Thu May 22 18:33:54 2008 +1000

    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.

-----------------------------------------------------------------------

Summary of changes:
 common/ctdb_ltdb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/common/ctdb_ltdb.c b/common/ctdb_ltdb.c
index 886115a..5272927 100644
--- a/common/ctdb_ltdb.c
+++ b/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"));


-- 
CTDB repository


More information about the samba-cvs mailing list