summaryrefslogtreecommitdiffstats
path: root/ctdb/server/ctdb_call.c
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2013-09-12 16:43:43 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-10-04 15:20:25 +1000
commitbe33efa3e441281ad81a66ffcb78935aef61b05b (patch)
tree6aa65ea2bee4b164a8063e66611a09c8a6e5e135 /ctdb/server/ctdb_call.c
parent91d644325dbf0c4ceeff2dfee38534c0667e1529 (diff)
downloadsamba-be33efa3e441281ad81a66ffcb78935aef61b05b.tar.gz
samba-be33efa3e441281ad81a66ffcb78935aef61b05b.tar.xz
samba-be33efa3e441281ad81a66ffcb78935aef61b05b.zip
ctdbd: Remove transaction code related to TRANS2 commits
This removes data types and structure elements related to TRANS2 persistent transaction code. Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 22a253b7ccf1ff854cddf0b67969dc84d7d6a654)
Diffstat (limited to 'ctdb/server/ctdb_call.c')
-rw-r--r--ctdb/server/ctdb_call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_call.c b/ctdb/server/ctdb_call.c
index bd88ce96170..017bb81d99c 100644
--- a/ctdb/server/ctdb_call.c
+++ b/ctdb/server/ctdb_call.c
@@ -941,7 +941,7 @@ void ctdb_request_call(struct ctdb_context *ctdb, struct ctdb_req_header *hdr)
* expensive as a migration.
*/
if (c->hdr.srcnode != ctdb->pnn) {
- if (ctdb_db->transaction_active) {
+ if (ctdb_db->persistent_state) {
DEBUG(DEBUG_INFO, (__location__ " refusing migration"
" of key %s while transaction is active\n",
(char *)call->key.dptr));