Michael Kublin has uploaded a new change for review.

Change subject: core: Deadlock when removing host (#731994)
......................................................................

core: Deadlock when removing host (#731994)

https://bugzilla.redhat.com/731994

The following bug was caused because of couple of parallel actions remove and 
activate
of the same host.
Solution lock a host during remove and activate operation.
The patch contains:
1. Introduction of lock
2. Clean up and solved pottentional NPE at ActivateVds

Change-Id: I52cd739986ff56fab6021bd0b2d5120005dbdb5b
Signed-off-by: Michael Kublin <mkub...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ActivateVdsCommand.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveVdsCommand.java
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/locks/LockingGroup.java
3 files changed, 39 insertions(+), 26 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/88/5188/1
--
To view, visit http://gerrit.ovirt.org/5188
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I52cd739986ff56fab6021bd0b2d5120005dbdb5b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkub...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to