Change in ovirt-engine[master]: core: call Failed to runVms on different thread

ofrenkel at redhat.com ofrenkel at redhat.com
Wed Dec 26 13:17:46 UTC 2012


Omer Frenkel has submitted this change and it was merged.

Change subject: core: call Failed to runVms on different thread
......................................................................


core: call Failed to runVms on different thread

On a busy system we can hit a deadlock in a situation where 2 Vdsmanager
are failing to run a VM and are notifying each other a FailedToRunVm VDS
command.

This fix reduces the probability of the deadlock by
notifying other hosts in a new thread to try and conclude blocking
VdsManager thread to terminate more quickly and release the lock.

Change-Id: If4d760aa270a3f07b13d1579d7b02c838cb4dd15
Bug-Url: https://bugzilla.redhat.com/878890
Signed-off-by: Roy Golan <rgolan at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommandBase.java
1 file changed, 22 insertions(+), 6 deletions(-)

Approvals:
  Omer Frenkel: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/10002
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If4d760aa270a3f07b13d1579d7b02c838cb4dd15
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>



More information about the Engine-commits mailing list