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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Itamar Heim <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to