Change in ovirt-engine[master]: Default DC & Cluster has fixed UUIDs
emesika at redhat.com
emesika at redhat.com
Tue Feb 4 21:51:14 UTC 2014
Eli Mesika 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 at 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; Looks good to me, approved
Juan Hernandez: Looks good to me, but someone else must approve
Yair Zaslavsky: Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/23853
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic5650fe1586fae320484f8cd36698491554efa57
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
More information about the Engine-commits
mailing list