Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 205561 Details for
Bug 229650
Restart only the failed resource and its dependencies instead of the whole service.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Restart only independent subtrees if a non independent child fails.
rgmanager_fix_independent_subtree_20070925-1620.patch (text/plain), 1.11 KB, created by
Simone Gotti
on 2007-09-25 14:55:36 UTC
(
hide
)
Description:
Restart only independent subtrees if a non independent child fails.
Filename:
MIME Type:
Creator:
Simone Gotti
Created:
2007-09-25 14:55:36 UTC
Size:
1.11 KB
patch
obsolete
>Index: restree.c >=================================================================== >RCS file: /cvs/cluster/cluster/rgmanager/src/daemons/restree.c,v >retrieving revision 1.23.2.8.2.3 >diff -u -b -B -p -r1.23.2.8.2.3 restree.c >--- restree.c 30 Aug 2007 16:05:14 -0000 1.23.2.8.2.3 >+++ restree.c 25 Sep 2007 14:38:48 -0000 >@@ -1242,9 +1242,21 @@ _res_op_internal(resource_node_t **tree, > > } > >- if (node->rn_child) >+ if (node->rn_child) { > rv |= _res_op_by_level(&node, me?NULL:first, ret, op); > >+ /* If one or more child resources are failed and at least one >+ of them is not an independent subtree then let's check if >+ if we are an independent subtree and mark us and all the >+ childs as failed and return a flag stating that this section >+ is recoverable apart from siblings in the resource tree. */ >+ if (op == RS_STATUS && (rv & SFL_FAILURE) && (node->rn_flags & RF_INDEPENDENT)) { >+ mark_nodes(node, RES_FAILED, >+ RF_NEEDSTART | RF_NEEDSTOP); >+ return SFL_RECOVERABLE; >+ } >+ } > /* Stop should occur after children have stopped */ > if (me && (op == RS_STOP)) { > node->rn_flags &= ~RF_NEEDSTOP;
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 229650
:
148657
|
155385
|
155386
|
155387
|
155388
|
155389
|
155835
|
156923
|
181341
|
205561
|
205861