Martin Peřina has posted comments on this change.

Change subject: core: Move VDS to Maintenance only if StopSPM is successful
......................................................................


Patch Set 4:

(1 comment)

....................................................
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/SetVdsStatusVDSCommand.java
Line 46:             }
Line 47: 
Line 48:             // set status to Prepare for Maintenance for SPM only if 
ResetIrs command was successful
Line 49:             if (getVDSReturnValue().getSucceeded()) {
Line 50:                 updateVdsFromParameters(parameters, vds);
Ok, I modified the behavior, so now db updates won't be executed only if 
ResetIrs failed and status have to be change to Prepare for Maintenance. By 
this we minimize side effects ...
Line 51:                 TransactionSupport.executeInNewTransaction(new 
TransactionMethod<Void>() {
Line 52: 
Line 53:                     @Override
Line 54:                     public Void runInTransaction() {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I5c58f9a9629d2e7a496f02c4dececeb842d44543
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Peřina <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Liron Ar <[email protected]>
Gerrit-Reviewer: Martin Peřina <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to