mirror of https://github.com/apache/cloudstack.git
bug 9392: don't lock domr entry, otherwise updating domr state fails
status 9392: resolved fixed
This commit is contained in:
parent
63ada2ef7e
commit
ac223c197f
|
|
@ -487,7 +487,7 @@ public class VirtualMachineManagerImpl implements VirtualMachineManager, Listene
|
|||
s_logger.debug("Determining why we're unable to update the state to Starting for " + vm);
|
||||
}
|
||||
|
||||
VMInstanceVO instance = _vmDao.lockRow(vmId, true);
|
||||
VMInstanceVO instance = _vmDao.findById(vmId);
|
||||
if (instance == null) {
|
||||
throw new ConcurrentOperationException("Unable to acquire lock on " + vm);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue