Don't tee same image into cache multiple times
Bug #817275 reported by
Rick Harris
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Rick Harris |
Bug Description
We're handling the case of trying to prefetch multiple images into the cache; however, we're not handling the case where the same ends up getting tee'd into the cache multiple times.
The logic should be: if image is already tee'ing into cache, just stream from origin directly into client.
Related branches
lp:~rconradharris/glance/lp817275
- Brian Lamar (community): Approve
- Jay Pipes (community): Approve
-
Diff: 44 lines (+14/-10)1 file modifiedglance/api/v1/images.py (+14/-10)
Changed in glance: | |
assignee: | nobody → Rick Harris (rconradharris) |
status: | New → In Progress |
Changed in glance: | |
importance: | Undecided → Medium |
Changed in glance: | |
milestone: | none → diablo-3 |
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in glance: | |
milestone: | diablo-3 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.