summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2014-09-09 19:01:55 +1000
committerMartin Schwenke <martins@samba.org>2014-09-11 09:04:11 +0200
commite6127a9eceb215e421ee56c09032bb1e81c8131e (patch)
tree5e5751e8c8f5070cf08416a5f35dc7b5200f2b0b /ctdb
parent01d4c0e804e0c10fe6acfbdbe6747dcc5df6abc9 (diff)
downloadsamba-e6127a9eceb215e421ee56c09032bb1e81c8131e.tar.gz
ctdb-daemon: Increment pending calls statistics correctly
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/server/ctdb_daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_daemon.c b/ctdb/server/ctdb_daemon.c
index fd5413b75f2..4ae56a9eb7b 100644
--- a/ctdb/server/ctdb_daemon.c
+++ b/ctdb/server/ctdb_daemon.c
@@ -596,7 +596,7 @@ static void daemon_request_call_from_client(struct ctdb_client *client,
struct ctdb_daemon_packet_wrap *w;
CTDB_INCREMENT_STAT(ctdb, total_calls);
- CTDB_DECREMENT_STAT(ctdb, pending_calls);
+ CTDB_INCREMENT_STAT(ctdb, pending_calls);
ctdb_db = find_ctdb_db(client->ctdb, c->db_id);
if (!ctdb_db) {