Change in ovirt-engine[master]: core: prevent a race on add template version - done right

ahadas at redhat.com ahadas at redhat.com
Tue Mar 29 08:07:42 UTC 2016


Arik Hadas has submitted this change and it was merged.

Change subject: core: prevent a race on add template version - done right
......................................................................


core: prevent a race on add template version - done right

Putting an empty string as a place-holder in updateVmsJobIdMap
to prevent a race in which updateVmVersion method that is called
by quartz is executed before this map is updated with the job.

Change-Id: I6489bc1c606b28c60066a687690373b7b7c71140
Bug-Url: https://bugzilla.redhat.com/1294511
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Shahar Havivi: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Arik Hadas: Verified



-- 
To view, visit https://gerrit.ovirt.org/55348
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6489bc1c606b28c60066a687690373b7b7c71140
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list