cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kis...@apache.org
Subject git commit: updated refs/heads/master to ce5c35b
Date Wed, 01 Oct 2014 08:59:24 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 3e02bfa74 -> ce5c35b19


For network stats aggregation job, get the most recent mgmt server id to do the aggregation.
Set dao filter to descending.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ce5c35b1
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ce5c35b1
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ce5c35b1

Branch: refs/heads/master
Commit: ce5c35b193a60159d4376860b729b5c5b6467a94
Parents: 3e02bfa
Author: Kishan Kavala <kishan@apache.org>
Authored: Wed Oct 1 12:12:58 2014 +0530
Committer: Kishan Kavala <kishan@apache.org>
Committed: Wed Oct 1 14:24:50 2014 +0530

----------------------------------------------------------------------
 .../cloud/network/router/VirtualNetworkApplianceManagerImpl.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ce5c35b1/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
index 1c80fea..968c538 100755
--- a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
+++ b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
@@ -1020,7 +1020,7 @@ VirtualMachineGuru, Listener, Configurable, StateListener<State,
VirtualMachine.
                 if (scanLock.lock(ACQUIRE_GLOBAL_LOCK_TIMEOUT_FOR_COOPERATION)) {
                     //Check for ownership
                     //msHost in UP state with min id should run the job
-                    final ManagementServerHostVO msHost = _msHostDao.findOneInUpState(new
Filter(ManagementServerHostVO.class, "id", true, 0L, 1L));
+                    final ManagementServerHostVO msHost = _msHostDao.findOneInUpState(new
Filter(ManagementServerHostVO.class, "id", false, 0L, 1L));
                     if (msHost == null || (msHost.getMsid() != mgmtSrvrId)) {
                         s_logger.debug("Skipping aggregate network stats update");
                         scanLock.unlock();


Mime
View raw message