cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [cloudstack] branch master updated: CLOUDSTACK-9944: In Cluster Management Server, Sometimes hosts stays in disconnected state (#2138)
Date Thu, 03 Aug 2017 20:34:26 GMT
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 <sowjanya.patha@accelerite.com>
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
['"commits@cloudstack.apache.org" <commits@cloudstack.apache.org>'].

Mime
View raw message