git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
52723f3
)
s3: Fix the code to immediately disconnect from a non-working ctdbd
author
Volker Lendecke
<vl@samba.org>
Thu, 3 Dec 2009 00:55:52 +0000
(
01:55
+0100)
committer
Michael Adam
<obnox@samba.org>
Wed, 10 Mar 2010 12:22:20 +0000
(13:22 +0100)
source3/lib/ctdbd_conn.c
patch
|
blob
|
history
diff --git
a/source3/lib/ctdbd_conn.c
b/source3/lib/ctdbd_conn.c
index 9101bd429cbda0c80c01aa0a0d39ee9ee5ba5cc4..05c41c148ccced1e6ab5f733340dd8bd9dee2d4a 100644
(file)
--- a/
source3/lib/ctdbd_conn.c
+++ b/
source3/lib/ctdbd_conn.c
@@
-503,6
+503,7
@@
NTSTATUS ctdbd_init_connection(TALLOC_CTX *mem_ctx,
if (!ctdbd_working(conn, conn->our_vnn)) {
DEBUG(2, ("Node is not working, can not connect\n"));
+ status = NT_STATUS_INTERNAL_DB_ERROR;
goto fail;
}