From 06d8e1696fd75f05f10a6eee4bfd87c83b844e36 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Fri, 26 Mar 2010 15:55:47 -0700 Subject: [PATCH] rgw: add minor data to schema examination --- src/doc/rgw.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/doc/rgw.txt b/src/doc/rgw.txt index e44a7b4e537..3b55ade1dec 100644 --- a/src/doc/rgw.txt +++ b/src/doc/rgw.txt @@ -16,4 +16,13 @@ user IDs are strings, as with S3. buckets: ui_email_bucket: hold objects named by email and containing encoded RGWUIDs ui_bucket: holds objects named by user_id and containing encoded RGWUserInfos -root_bucket: holds objects corresponding to the other buckets, with ACLs in their attrs. \ No newline at end of file +root_bucket: holds objects corresponding to the other buckets, with ACLs in their attrs. + +Observed schema: +buckets: +.rgw -- contains: .users -- empty + .users.email -- empty + johnny1 -- bucket name -- empty +.users -- contains: anonymous -- empty + bucket for each user id -- contains binary, key, binary, secret key, binary, user name, binary, user email +.users.email -- contains bucket for each user email -- contains binary, then user id