← Back to team overview

registry team mailing list archive

[Bug 671644] [NEW] In swift.proxy.Controller, logic in account_info and container_info is problematic

 

Public bug reported:

In both methods, result_code is not set properly.

If all the nodes return a 404, the response code should be a 404 instead
of a -1.

Also, in account_info(), the logic for returning (partition, nodes)
versus (None, None) is different when the response code is retrieved
from memcache instead of determined by making requests of the nodes.

That logic should be, if the result_code is 200, return (partition,
nodes) and if not return (None, None) in both places.

** Affects: swift
     Importance: Undecided
         Status: New

-- 
In swift.proxy.Controller, logic in account_info and container_info is problematic
https://bugs.launchpad.net/bugs/671644
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack Object Storage (swift).



Follow ups

References