Merge pull request #1251 from koushik-das/CLOUDSTACK-9180

CLOUDSTACK-9180: Optimize concurrent VM deployment operation on same network

Check if VR needs to be allocated for a given network and only acquire lock if 
required

Refer to the bug for details.

* pr/1251:
  CLOUDSTACK-9180: Optimize concurrent VM deployment operation on same network 
Check if VR needs to be allocated for a given network and only acquire lock if 
required

Signed-off-by: Will Stevens <williamstev...@gmail.com>


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

Branch: refs/heads/master
Commit: 75c8a5501431464b6511162cec8a9f84056f40aa
Parents: 121b3d6 de89426
Author: Will Stevens <williamstev...@gmail.com>
Authored: Fri May 27 15:20:48 2016 -0400
Committer: Will Stevens <williamstev...@gmail.com>
Committed: Fri May 27 15:20:49 2016 -0400

----------------------------------------------------------------------
 .../deployment/RouterDeploymentDefinition.java  | 49 +++++++++++++-------
 .../RouterDeploymentDefinitionTest.java         | 36 ++++++++++++--
 2 files changed, 66 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


Reply via email to