cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [2/4] git commit: updated refs/heads/master to f82873e
Date Mon, 05 Dec 2016 10:03:03 GMT
Merge pull request #1765 from shapeblue/CLOUDSTACK-9586

Cloudstack 9586: When using local storage with Xenserver prepareTemplate does not work with
multiple primary storeThe race condition will happen whenever there are multiple primary storages
and the CS tries to mount the secondary store to xenserver host simultaneously.

Due to synchronised block one mount will be successful and other thread will get the already
mounted SR. Without the fix the two thread will try to mount it parallely and one will fail
on Xenserver.

* pr/1765:
  Cloudstack 9586: When using local storage with Xenserver prepareTemplate does not work with
multiple primary store The race condition will happen whenever there are multiple primary
storages and the CS tries to mount the secondary store to xenserver host simultaneously. Due
to synchronised block one mount will be successful and other thread will get the already mounted
SR. Without the fix the two thread will try to mount it parallely and one will fail on Xenserver.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


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

Branch: refs/heads/master
Commit: 20aea27dc0dd2a212acd830d47945ea5ea579f0c
Parents: 9e4246a ba32ac1
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Mon Dec 5 15:30:46 2016 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Mon Dec 5 15:31:25 2016 +0530

----------------------------------------------------------------------
 .../resource/Xenserver625StorageProcessor.java  | 45 ++++++++------------
 1 file changed, 17 insertions(+), 28 deletions(-)
----------------------------------------------------------------------



Mime
View raw message