Change in ovirt-engine[ovirt-engine-3.4]: Default DC & Cluster has fixed UUIDs

Itamar Heim has submitted this change and it was merged. Change subject: Default DC & Cluster has fixed UUIDs ...................................................................... Default DC & Cluster has fixed UUIDs This patch modifies the uuid_generate_v1 function to have some randomization in its least significant part so different engines will have different UUID values from the generated default DC UUID and default Cluster. In addition This patch fixes a static data inserted as Cluster UUID for the blank template. I had tested generation of million UUIDs to verify its uniqueness just for the case although the generation of the 29 most significant numbers are still done by the sequence and supposed to be unique. Change-Id: Ic5650fe1586fae320484f8cd36698491554efa57 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1026885 Signed-off-by: Eli Mesika <emesika@redhat.com> --- M packaging/dbscripts/create_functions.sql M packaging/dbscripts/insert_data.sql 2 files changed, 4 insertions(+), 2 deletions(-) Approvals: Eli Mesika: Verified Yair Zaslavsky: Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/24087 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic5650fe1586fae320484f8cd36698491554efa57 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.4 Gerrit-Owner: Eli Mesika <emesika@redhat.com> Gerrit-Reviewer: Eli Mesika <emesika@redhat.com> Gerrit-Reviewer: Itamar Heim <iheim@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzaslavs@redhat.com> Gerrit-Reviewer: automation@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
iheim@redhat.com