ring device holes not reused
Bug #1532276 reported by
Paul Dardeau
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Paul Dardeau |
Bug Description
Once a device is used, it will no longer be used while there are higher device id's in use.
Steps to reproduce:
create ring with 30,000 devices
delete all (0-29998) but the one with highest device id (29,999)
add new device (without specifying id)
expected result: new device id=0
actual result: new device id=30000
add new device with id (e.g., 200)
expected result: new device id=200
actual result: DuplicateDevice
CVE References
Changed in swift: | |
assignee: | nobody → Paul Dardeau (paul-dardeau) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/265461
Review: https:/