[SCM] SAMBA-CTDB repository - branch v3-4-ctdb updated - aab0b67097154b444ddb464d65fe128d33f2dab8

Michael Adam obnox at samba.org
Mon Nov 2 17:00:43 MST 2009


The branch, v3-4-ctdb has been updated
       via  aab0b67097154b444ddb464d65fe128d33f2dab8 (commit)
      from  be7a16a43a458bb3033bbd2256882ca17a11c6a1 (commit)

http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-4-ctdb


- Log -----------------------------------------------------------------
commit aab0b67097154b444ddb464d65fe128d33f2dab8
Author: Volker Lendecke <vl at samba.org>
Date:   Mon Nov 2 16:59:15 2009 +0100

    s3: Fix a 100% CPU loop when ctdbd dies during a traverse
    
    Signed-off-by: Michael Adam <obnox at samba.org>

-----------------------------------------------------------------------

Summary of changes:
 source3/lib/ctdbd_conn.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index d34d23e..540e62d 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -1168,6 +1168,7 @@ NTSTATUS ctdbd_traverse(uint32 db_id,
 
 		if (NT_STATUS_EQUAL(status, NT_STATUS_END_OF_FILE)) {
 			status = NT_STATUS_OK;
+			break;
 		}
 
 		if (!NT_STATUS_IS_OK(status)) {


-- 
SAMBA-CTDB repository


More information about the samba-cvs mailing list