瀏覽代碼

Failover doesn't happen when CTL-Z and process kill

(Logical change 1.194)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@636 fd59a12c-fef9-0310-b244-a6a79926bd2f
Miyotaka Sakai 21 年之前
父節點
當前提交
2e38f2f85b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      exec/amf.c

+ 1 - 0
exec/amf.c

@@ -2022,6 +2022,7 @@ static int message_handler_req_exec_amf_componentregister (void *message, struct
 		component->probableCause = 0;
 		component->probableCause = 0;
 		component->enabledUnlockedState = 0;
 		component->enabledUnlockedState = 0;
 		component->disabledUnlockedState = 0;
 		component->disabledUnlockedState = 0;
+		component->healthcheck_outstanding = 0;
 
 
 		if (req_exec_amf_componentregister->req_lib_amf_componentregister.proxyCompName.length > 0) {
 		if (req_exec_amf_componentregister->req_lib_amf_componentregister.proxyCompName.length > 0) {
 			component->saAmfProxyComponent = amfProxyComponent;
 			component->saAmfProxyComponent = amfProxyComponent;