Actions
Bug #24277
openproducts and repositories missing unique constraint in database schema
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
If a calls to create a product or repository happen simultaneously to server, duplicates can be created with same name and/or label.
I encountered this using foreman-ansible-modules which was running "fixtures" and "tests" in parallel.
Enforcing uniqueness in database would prevent this.
Many other resources with label column should also be enforced unique.
Updated by Jonathon Turel almost 7 years ago
- Target version set to Katello 3.8.0
- Triaged changed from No to Yes
Updated by Thomas McKay over 6 years ago
- Target version changed from Katello 3.8.0 to Katello 3.9.0
Updated by Jonathon Turel over 6 years ago
- Target version changed from Katello 3.9.0 to Katello Backlog
- Difficulty set to medium
Actions