Bug #566
Pool Objects reuse deleted ids
Status: | Closed | Start date: | 04/08/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Carlos Martín | % Done: | 0% | |
Category: | Core & System | |||
Target version: | Release 3.0 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: |
Description
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).
Associated revisions
History
#1 Updated by Carlos Martín about 10 years ago
This issue will be solved in branch feature-591
#2 Updated by Ruben S. Montero about 10 years ago
- Status changed from New to Closed
- Resolution set to fixed
The changes are now in master