The Samba-Bugzilla – Attachment 12476 Details for
Bug 12271
CTDB recovery does not terminate if no node is banned due to failure
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patches for v4-4 branch
BZ12271-v4-4.patch (text/plain), 1.22 KB, created by
Amitay Isaacs
on 2016-09-17 12:25:37 UTC
(
hide
)
Description:
Patches for v4-4 branch
Filename:
MIME Type:
Creator:
Amitay Isaacs
Created:
2016-09-17 12:25:37 UTC
Size:
1.22 KB
patch
obsolete
>From ce17a8b60506500ae141ec5247daca0b92424030 Mon Sep 17 00:00:00 2001 >From: Amitay Isaacs <amitay@gmail.com> >Date: Thu, 23 Jun 2016 21:07:37 +1000 >Subject: [PATCH] ctdb-recovery: Terminate if recovery fails without any > banning credits > >In case of database recovery failure, if there are no banning credits >assigned, then the async computation is never terminated. The else >condition is missing in (max_credits >= NUM_RETRIES) check. > >Signed-off-by: Amitay Isaacs <amitay@gmail.com> >Reviewed-by: Martin Schwenke <martin@meltin.net> > >Autobuild-User(master): Martin Schwenke <martins@samba.org> >Autobuild-Date(master): Fri Jun 24 09:56:23 CEST 2016 on sn-devel-144 > >(cherry picked from commit 600cec4d44a01391230a81efeece5155a97c8298) >--- > ctdb/server/ctdb_recovery_helper.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/ctdb/server/ctdb_recovery_helper.c b/ctdb/server/ctdb_recovery_helper.c >index 24aa42f..086dd16 100644 >--- a/ctdb/server/ctdb_recovery_helper.c >+++ b/ctdb/server/ctdb_recovery_helper.c >@@ -2609,6 +2609,8 @@ static void recovery_db_recovery_done(struct tevent_req *subreq) > } > tevent_req_set_callback(subreq, recovery_failed_done, > req); >+ } else { >+ tevent_req_error(req, EIO); > } > return; > } >-- >2.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
martins
:
review+
Actions:
View
Attachments on
bug 12271
:
12475
| 12476