Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Rings:1-MinimalX
pacemaker
pacemaker-crmd-skip-restart-at-stonith-max-atte...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-crmd-skip-restart-at-stonith-max-attempts.patch of Package pacemaker
commit 8fd6691558d94a8294f3d860cc9451c1a8e0c7a1 Author: Ken Gaillot <kgaillot@redhat.com> Date: Mon Apr 17 13:55:19 2017 -0500 Low: crmd: skip restart at (not above) stonith-max-attempts diff --git a/crmd/te_callbacks.c b/crmd/te_callbacks.c index 4f896eeaf..b4d87137d 100644 --- a/crmd/te_callbacks.c +++ b/crmd/te_callbacks.c @@ -649,14 +649,14 @@ too_many_st_failures(const char *target) if (target == NULL) { g_hash_table_iter_init(&iter, stonith_failures); while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) { - if (value->count > stonith_max_attempts) { + if (value->count >= stonith_max_attempts) { target = (const char*)key; goto too_many; } } } else { value = g_hash_table_lookup(stonith_failures, target); - if ((value != NULL) && (value->count > stonith_max_attempts)) { + if ((value != NULL) && (value->count >= stonith_max_attempts)) { goto too_many; } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor