Improvement: Check duplicate when creating/registering a language_pack
Bug #1293738 reported by
Devdatta Kulkarni
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Solum |
Triaged
|
Medium
|
Murali Allada |
Bug Description
In creating a language_pack if the same data is sent in as for some already existing language_pack object then we may end up creating a new object unnecessarily.
This bug is to add checks to create a language_pack object only when the data that is sent is new.
description: | updated |
Changed in solum: | |
importance: | Undecided → Medium |
Changed in solum: | |
status: | New → Triaged |
summary: |
- Check duplicate when creating/registering a language_pack + Improvement: Check duplicate when creating/registering a language_pack |
Changed in solum: | |
importance: | Medium → Wishlist |
importance: | Wishlist → Medium |
milestone: | none → 2015.1.1 |
To post a comment you must log in.
We could add a new tag like 'solum::lp::hash' which can be a MD5 value calculated from other important tag values, e.g. 'type', 'os_platform', 'compiler_version' etc.. When creating a new language pack, we can first query the database to check if there is already an image with a same hash. We need to update the hash whenever we update the tag values via a PUT.