git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2913cc9
)
If tdb_open() fails when trying to open the vacuuming database,
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Wed, 13 Oct 2010 22:49:23 +0000
(09:49 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 14 Oct 2010 03:03:19 +0000
(14:03 +1100)
print errno so we get some idea of why this failed.
server/ctdb_vacuum.c
patch
|
blob
|
history
diff --git
a/server/ctdb_vacuum.c
b/server/ctdb_vacuum.c
index b0c7d4032de8f7c397aac3fa954540839efe30fc..4104853de1c6f05c083d7719ad8ff8ff7fccadcb 100644
(file)
--- a/
server/ctdb_vacuum.c
+++ b/
server/ctdb_vacuum.c
@@
-702,7
+702,7
@@
static int get_vacuum_interval(struct ctdb_db_context *ctdb_db)
flags,
O_RDWR|O_CREAT, 0600);
if (!tdb) {
- DEBUG(DEBUG_ERR,("Unable to open/create database %s using default interval
\n", vac_dbname
));
+ DEBUG(DEBUG_ERR,("Unable to open/create database %s using default interval
. Errno : %s (%d)\n", vac_dbname, strerror(errno), errno
));
talloc_free(tmp_ctx);
return interval;
}