[sheepdog] [PATCH 1/2] sheep/http: rework bucket operation

Liu Yuan namei.unix at gmail.com
Mon Dec 23 08:57:38 CET 2013


On Sun, Dec 22, 2013 at 08:43:29PM +0800, Liu Yuan wrote:
> This patch simplify the code for bucket operations and alos also fixes potential
> buggy error handlings.
> 
> Now we use the whole object in the account_vdi to represent the bucket because
> 
> - shares many codes with object operations.
> - kv_bnode need space to hold meta data in the form of X-Container-Meta-*
> 
> This patch also fixes account create and delete:
>  - we should use GET to create the account and DELETE to delete the account
>  - POST is used to update the account metadata in the form of X-Account-Meta-*

Applied

Yuan



More information about the sheepdog mailing list