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:
8b78587
)
This needs more testing first
author
Ronnie Sahlberg
<sahlberg@lenovo-laptop.(none)>
Mon, 21 Mar 2011 03:28:22 +0000
(14:28 +1100)
committer
Ronnie Sahlberg
<sahlberg@lenovo-laptop.(none)>
Mon, 21 Mar 2011 03:28:22 +0000
(14:28 +1100)
Revert "ctdbd: call tdb_reopen_all() in freeze child."
This reverts commit
1e30004f0c63572d721a2c2f53d8a6bccdb5ec45
.
server/ctdb_freeze.c
patch
|
blob
|
history
diff --git
a/server/ctdb_freeze.c
b/server/ctdb_freeze.c
index 9eb2493088033d90047801b1c50f999d34e597e2..0f70fd35023df539dceab412195cd741fed02a9c 100644
(file)
--- a/
server/ctdb_freeze.c
+++ b/
server/ctdb_freeze.c
@@
-204,11
+204,6
@@
static struct ctdb_freeze_handle *ctdb_freeze_lock(struct ctdb_context *ctdb, ui
close(fd[0]);
debug_extra = talloc_asprintf(NULL, "freeze_lock-%u:", priority);
- if (tdb_reopen_all(true) != 0) {
- DEBUG(DEBUG_ERR,(__location__ " Failed to reopen databases\n"));
- _exit(0);
- }
-
ret = ctdb_lock_all_databases(ctdb, priority);
if (ret != 0) {
_exit(0);