Eli Mesika has posted comments on this change.
Change subject: core: Prevent dead lock on vm device (#852451)
......................................................................
Patch Set 5: (2 inline comments)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/HotPlugDiskToVmCommand.java
Line 86:
Line 87: TransactionSupport.executeInNewTransaction(new
TransactionMethod<Void>() {
Line 88: @Override
Line 89: public Void runInTransaction() {
Line 90:
Done
Line 91:
getVmDeviceDao().updateAll("UpdateVmDeviceForHotPlugDisk",devices);
Line 92: VmHandler.updateDisksFromDb(getVm());
Line 93: return null;
Line 94: }
....................................................
File
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
Line 221:
TransactionSupport.executeInScope(TransactionScopeOption.Required,
Line 222: new TransactionMethod<Void>() {
Line 223:
Line 224: @Override
Line 225: public Void runInTransaction() {
Done
Line 226: dao.updateAll(procedureName,entities);
Line 227: return null;
Line 228: }
Line 229: });
--
To view, visit http://gerrit.ovirt.org/7641
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: If316259f9760777c5f85db0880a157021c61a6ba
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches