Change in ovirt-engine[ovirt-engine-3.6]: core: Fix order of DB operations in RefreshHostDevicesCommand
tnisan at redhat.com
tnisan at redhat.com
Wed Sep 16 13:31:44 UTC 2015
Tal Nisan has submitted this change and it was merged.
Change subject: core: Fix order of DB operations in RefreshHostDevicesCommand
......................................................................
core: Fix order of DB operations in RefreshHostDevicesCommand
We need to first
* Add new devices
* Update existing (with new parent)
* Remove disappeared devices safely (since no one points its parent on it)
To prevent foreign key violation on parent column.
Change-Id: Ie85680d02632e2ff45fbabee654ba7cfb66d6e99
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1261877
Signed-off-by: Martin Betak <mbetak at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdev/RefreshHostDevicesCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jenkins CI: Passed CI tests
Martin Betak: Verified
Omer Frenkel: Looks good to me, approved
--
To view, visit https://gerrit.ovirt.org/46227
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie85680d02632e2ff45fbabee654ba7cfb66d6e99
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
More information about the Engine-commits
mailing list