Pool Objects reuse deleted ids
|Assignee:||Carlos Martín||% Done:|
|Category:||Core & System|
|Target version:||Release 3.0|
All Pool Objects have a unique ID called oid. This oid is auto-incremented from the last one found in the pool tables at star-up, and this can lead to re-usage of deleted IDs.
Example: Having a Pool with oids 1..7; if the last objects 5, 6 & 7 are deleted and OpenNebula re-started, the last oid found will be 4 and new oids will start from 5 (instead of from 8).