This is an automated email from the ASF dual-hosted git repository.

bhaisaab pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/master by this push:
     new 9fe5630  CLOUDSTACK-9944: In Cluster Management Server, Sometimes 
hosts stays in disconnected state (#2138)
9fe5630 is described below

commit 9fe5630c711ca8659698ca32a4fec715105ef5cc
Author: SowjanyaPatha <[email protected]>
AuthorDate: Fri Aug 4 02:04:23 2017 +0530

    CLOUDSTACK-9944: In Cluster Management Server, Sometimes hosts stays in 
disconnected state (#2138)
    
    In clustered management server setup on simultaneous restart of management 
server, sometimes hosts stays in disconnected state.
---
 .../src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java           | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/engine/orchestration/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
 
b/engine/orchestration/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
index a89988c..b69ca5b 100644
--- 
a/engine/orchestration/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
+++ 
b/engine/orchestration/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
@@ -167,6 +167,7 @@ public class ClusteredAgentManagerImpl extends 
AgentManagerImpl implements Clust
 
         // Schedule tasks for agent rebalancing
         if (isAgentRebalanceEnabled()) {
+            cleanupTransferMap(_nodeId);
             
s_transferExecutor.scheduleAtFixedRate(getAgentRebalanceScanTask(), 60000, 
60000, TimeUnit.MILLISECONDS);
             s_transferExecutor.scheduleAtFixedRate(getTransferScanTask(), 
60000, ClusteredAgentRebalanceService.DEFAULT_TRANSFER_CHECK_INTERVAL, 
TimeUnit.MILLISECONDS);
         }

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to