Bug 1362459
| Summary: | Fix our own implementation uuid_generate_v1() to produce more random values | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Eli Mesika <emesika> |
| Component: | Database.Core | Assignee: | Eli Mesika <emesika> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Eli Mesika <emesika> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.0.0 | CC: | bugs, emesika, gklein, mgoldboi, mperina |
| Target Milestone: | ovirt-4.0.4 | Keywords: | CodeChange |
| Target Release: | 4.0.4 | Flags: | rule-engine:
ovirt-4.0.z+
rule-engine: ovirt-4.1+ mgoldboi: planning_ack+ mperina: devel_ack+ pstehlik: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-26 10:55:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Eli Mesika
2016-08-02 09:04:04 UTC
Using PG native uuid_generate_vX() functions requires installing an extension to PG which can be done only with an admin user on the database. This is relatively complex and can be done only on a local provisioned database. I would suggest instead to improve the randomness of our UUID generation function such that it will not generate duplicate values. Changing the bug subject accordingly Removing RFE as we have only reimplemented our own uuid_generate_v1() implementation to produce more random values (instead of replacing it with postgresql extension uuid-ossp) and targeting to 4.0.4 to suppress regular duplicate UUID issues seen on db upgrade jobs on Jenkins. So this looks like CodeChange - if so nothing for QE. This issue of duplicate UUIDs during db upgrade is visible only on Jenkins, so yeah no need for QA testing, marking as CodeChange. Closed as a Code change based on comment #4 |