git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
393b0b7
)
Add log output to wipedb and backupdb
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 4 Jul 2011 20:29:00 +0000
(06:29 +1000)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Wed, 6 Jul 2011 03:19:36 +0000
(13:19 +1000)
CQ S1025379
tools/ctdb.c
patch
|
blob
|
history
diff --git
a/tools/ctdb.c
b/tools/ctdb.c
index 674622a68afa129dabbf86a5a019f316964d4702..ec9481e96b9813f657ed8364cc9725c574c69d68 100644
(file)
--- a/
tools/ctdb.c
+++ b/
tools/ctdb.c
@@
-4142,6
+4142,9
@@
done:
DEBUG(DEBUG_ERR,("close failed: %s\n", strerror(errno)));
}
}
+
+ DEBUG(DEBUG_ERR,("Database acked up to %s\n", argv[1]));
+
talloc_free(tmp_ctx);
return status;
}
@@
-4585,6
+4588,8
@@
static int control_wipedb(struct ctdb_context *ctdb, int argc,
return -1;
}
+ DEBUG(DEBUG_ERR, ("Database wiped.\n"));
+
talloc_free(tmp_ctx);
return 0;
}