Re: updation of container and account while using Swift API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi 

pragya jain writes:

> Hello all!
> I have some basic questions about the process followed by Ceph
> software when a user use SwiftAPIs for accessing its
> storage1. According to my understanding, to keep the objects listing
> in containers and containers listing in an account, Ceph software
> maintains different pools for accounts and containers. To which
> extent, it is right?2

Yes, they are maintained in different pools.

The pools .rgw stores the buckets, the users/accounts are stored in
.users (or users.uid) pool, IIRC, the list of buckets per user is stored
as omap keys of the user object

>. When a user upload an object using Swift APIs, then what procedure
> does Ceph software follow to update object listing and bytes used in
>container and account?  Please help in this regard.

The objects are stored in .rgw.buckets pool, a bucket stores the list of
objects it contains as an omap keys of the bucket object. So this would
be the place to look for. 

I'm not sure where the size info for objects/buckets are stored while
doing a HEAD on the swift account, though it would be interesting to know.

I had written some notes on this mostly from different mailing list
discussions in ceph-devel[1] though it was not updated as much I wanted
to.

[1] https://github.com/theanalyst/notes/blob/master/rgw.org#buckets 


> Thank you-----RegardsPragya JainDepartment of Computer ScienceUniversity of DelhiDelhi, India_______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

-- 
Abhishek

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux