Re: [Openstack] [SWIFT] code reading

2013-02-14 Thread Kun Huang
Thanks your explanation, John. That we can't simply auto create after getting a 404 is the core reason. At same time, I know why -1 is called "mixed responses" now :) On Thu, Feb 14, 2013 at 1:26 AM, John Dickinson wrote: > This part of the code gets the account info, but if the account isn't

Re: [Openstack] [SWIFT] code reading

2013-02-13 Thread John Dickinson
This part of the code gets the account info, but if the account isn't found and account autocreation is set (eg for tempauth and keystone), then we need to create the account first before returning the info. However, since there are multiple replicas of the account in the cluster, we can't simp

[Openstack] [SWIFT] code reading

2013-02-12 Thread Kun Huang
Hi, Chmouel and Darrell I know you're working on /swift/proxy/controllers/base.py for this bug: https://review.openstack.org/#/c/21563/ I didn't know the https://github.com/openstack/swift/blob/master/swift/proxy/controllers/base.py#L371 to #372. Could you show me a simple understanding?