[SCM] CTDB repository - branch master updated - ctdb-2.0-15-gf81e9ad

Amitay Isaacs amitay at samba.org
Thu Nov 29 19:40:25 MST 2012


The branch, master has been updated
       via  f81e9add466b1d9b2796c09c6ba63b77296ea149 (commit)
      from  905cd1293aa97dc7839a59b4f68eca02981f0891 (commit)

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


- Log -----------------------------------------------------------------
commit f81e9add466b1d9b2796c09c6ba63b77296ea149
Author: Amitay Isaacs <amitay at gmail.com>
Date:   Fri Nov 30 12:21:30 2012 +1100

    daemon: Check if log_latency_ms is set before using it
    
    This fixes a bug where wrong variable is checked.
    
    Signed-off-by: Amitay Isaacs <amitay at gmail.com>

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

Summary of changes:
 include/ctdb_private.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/include/ctdb_private.h b/include/ctdb_private.h
index f06a1f1..348df09 100644
--- a/include/ctdb_private.h
+++ b/include/ctdb_private.h
@@ -376,7 +376,7 @@ struct ctdb_daemon_data {
 		ctdb_db->statistics.counter.total += value;				\
 		ctdb_db->statistics.counter.num++;					\
 											\
-		if (ctdb_db->ctdb->tunable.reclock_latency_ms != 0) {			\
+		if (ctdb_db->ctdb->tunable.log_latency_ms != 0) {			\
 			if (value*1000 > ctdb_db->ctdb->tunable.log_latency_ms) {	\
 				DEBUG(DEBUG_ERR,					\
 				      ("High latency %.6fs for operation %s on database %s\n",\


-- 
CTDB repository


More information about the samba-cvs mailing list