You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2016/12/05 10:03:03 UTC

[2/4] git commit: updated refs/heads/master to f82873e

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 <ro...@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 <ro...@shapeblue.com>
Authored: Mon Dec 5 15:30:46 2016 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Mon Dec 5 15:31:25 2016 +0530

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