]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
12 years agoflushed the formatter after closing the primary section in MDLOG, BILOG and GETSHARDI...
Babu Shanmugam [Thu, 30 May 2013 04:58:23 +0000 (10:28 +0530)]
flushed the formatter after closing the primary section in MDLOG, BILOG and GETSHARDINFO :: list()

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
12 years agorgw: mdlog, bilog RESTful api cleanup
Yehuda Sadeh [Tue, 28 May 2013 20:39:18 +0000 (13:39 -0700)]
rgw: mdlog, bilog RESTful api cleanup

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoWith mdlog lock and unlock functionality, listing and trimming base on shard_id
Babu Shanmugam [Tue, 28 May 2013 00:28:42 +0000 (05:58 +0530)]
With mdlog lock and unlock functionality, listing and trimming base on shard_id

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
12 years agoAdded send_response implementation for MDLOG and BILOG list APIs so that periodic...
Babu Shanmugam [Tue, 21 May 2013 05:11:05 +0000 (10:41 +0530)]
Added send_response implementation for MDLOG and BILOG list APIs so that periodic flushing can happend in execute()

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
12 years agoMDLOG and BILOG REST Apis implemented along with some bug fixes
Babu Shanmugam [Sat, 18 May 2013 05:02:21 +0000 (10:32 +0530)]
MDLOG and BILOG REST Apis implemented along with some bug fixes

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
12 years agorgw: parse location constraint on bucket creation
Yehuda Sadeh [Wed, 15 May 2013 05:05:31 +0000 (22:05 -0700)]
rgw: parse location constraint on bucket creation

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: a function to read all request input
Yehuda Sadeh [Wed, 15 May 2013 05:04:08 +0000 (22:04 -0700)]
rgw: a function to read all request input

Factor out this useful function. Also make sure that
we never read more than a specified (large enough) max.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: update json encode/decode for new bucket info
Yehuda Sadeh [Wed, 15 May 2013 04:35:03 +0000 (21:35 -0700)]
rgw: update json encode/decode for new bucket info

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: add region to bucket info
Yehuda Sadeh [Wed, 15 May 2013 01:26:37 +0000 (18:26 -0700)]
rgw: add region to bucket info

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoModified PutMetadata::get_data() to handle chunked transfers
Babu Shanmugam [Tue, 7 May 2013 08:18:13 +0000 (13:48 +0530)]
Modified PutMetadata::get_data() to handle chunked transfers

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
12 years agoceph_json: don't try to parse NULL buffer
Yehuda Sadeh [Thu, 2 May 2013 19:41:57 +0000 (12:41 -0700)]
ceph_json: don't try to parse NULL buffer

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoRemoved the check for parameter validation in op_get()
Babu Shanmugam [Tue, 30 Apr 2013 03:45:34 +0000 (09:15 +0530)]
Removed the check for parameter validation in op_get()

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
12 years agoFixed certain bugs on rest admin APIs
Babu Shanmugam [Mon, 29 Apr 2013 04:16:46 +0000 (09:46 +0530)]
Fixed certain bugs on rest admin APIs

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
12 years agorgw: modify metadata RESTful implementation
Yehuda Sadeh [Fri, 26 Apr 2013 23:07:21 +0000 (16:07 -0700)]
rgw: modify metadata RESTful implementation

REST handler should derive from RGWHandler_Auth_S3,
other changes.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoWith admin metadata rest API implementation and unit test cases for it
Babu Shanmugam [Fri, 26 Apr 2013 13:14:16 +0000 (18:44 +0530)]
With admin metadata rest API implementation and unit test cases for it

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
12 years agoceph_json: fix bool decoding
Yehuda Sadeh [Tue, 14 May 2013 19:43:54 +0000 (12:43 -0700)]
ceph_json: fix bool decoding

"false" means false.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: json_encode json a bit differently
Yehuda Sadeh [Tue, 14 May 2013 19:25:17 +0000 (12:25 -0700)]
rgw: json_encode json a bit differently

Encode map as a list, it's a more friendly representation.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: tie bucket/user removal to mdlog differently
Yehuda Sadeh [Mon, 13 May 2013 23:58:28 +0000 (16:58 -0700)]
rgw: tie bucket/user removal to mdlog differently

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: slightly simplify metadata abstraction
Yehuda Sadeh [Mon, 13 May 2013 21:26:19 +0000 (14:26 -0700)]
rgw: slightly simplify metadata abstraction

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: read bucket metadata before writing it
Yehuda Sadeh [Mon, 13 May 2013 20:29:15 +0000 (13:29 -0700)]
rgw: read bucket metadata before writing it

In order to keep track of version.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: cache obj version
Yehuda Sadeh [Sat, 11 May 2013 05:02:20 +0000 (22:02 -0700)]
rgw: cache obj version

Also keep bucket objv_tracker on the request state.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: op->PutACLs uses the correct set_attr for buckets
Yehuda Sadeh [Fri, 10 May 2013 23:12:41 +0000 (16:12 -0700)]
rgw: op->PutACLs uses the correct set_attr for buckets

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: rados->set_attr() just calls rados->set_attrs()
Yehuda Sadeh [Fri, 10 May 2013 22:55:01 +0000 (15:55 -0700)]
rgw: rados->set_attr() just calls rados->set_attrs()

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: metadata handler for bucket set_attr operations
Yehuda Sadeh [Fri, 10 May 2013 21:42:52 +0000 (14:42 -0700)]
rgw: metadata handler for bucket set_attr operations

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: don't handle ECANCELLED anymore
Yehuda Sadeh [Fri, 10 May 2013 04:07:43 +0000 (21:07 -0700)]
rgw: don't handle ECANCELLED anymore

Simplify, remove obsolete logic.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: bucket metadata operations go through metadata handler
Yehuda Sadeh [Thu, 9 May 2013 21:13:24 +0000 (14:13 -0700)]
rgw: bucket metadata operations go through metadata handler

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoarmor: don't break lines by default
Yehuda Sadeh [Thu, 9 May 2013 18:04:44 +0000 (11:04 -0700)]
armor: don't break lines by default

Added a new function that breaks the lines, but by default
don't do it.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: implement metadata hander for buckets data
Yehuda Sadeh [Thu, 9 May 2013 03:40:48 +0000 (20:40 -0700)]
rgw: implement metadata hander for buckets data

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoceph_json: dump timestamp in utc
Yehuda Sadeh [Wed, 8 May 2013 23:26:55 +0000 (16:26 -0700)]
ceph_json: dump timestamp in utc

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: datalog trim
Yehuda Sadeh [Wed, 8 May 2013 21:54:54 +0000 (14:54 -0700)]
rgw: datalog trim

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: bucket index log trim
Yehuda Sadeh [Wed, 8 May 2013 21:22:19 +0000 (14:22 -0700)]
rgw: bucket index log trim

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoosd: don't assert if get_omap_iterator() returns NULL
Yehuda Sadeh [Wed, 8 May 2013 19:18:49 +0000 (12:18 -0700)]
osd: don't assert if get_omap_iterator() returns NULL

Fixes: #4949
This can happen if the object does not exist and it's
a write operation. Just return -ENOENT.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: metadata log trim
Yehuda Sadeh [Wed, 8 May 2013 17:52:26 +0000 (10:52 -0700)]
rgw: metadata log trim

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: resend data log entry if took too long
Yehuda Sadeh [Mon, 6 May 2013 21:41:10 +0000 (14:41 -0700)]
rgw: resend data log entry if took too long

If took too long, we want to resend. Also, fix issue with
renew.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: more data changes log implementation
Yehuda Sadeh [Mon, 6 May 2013 20:41:29 +0000 (13:41 -0700)]
rgw: more data changes log implementation

Remove a bunch of hard coded stuff. Make renew thread updates
expiration. Only renew if there was more than one request through the
current window.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoRefCounteCond: keep return val, wait() returns it
Yehuda Sadeh [Mon, 6 May 2013 20:39:43 +0000 (13:39 -0700)]
RefCounteCond: keep return val, wait() returns it

It is necessary in some cases to notify waiters of the
actual return value for the action they were waiting on.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: changed data log renew thread
Yehuda Sadeh [Thu, 2 May 2013 04:34:38 +0000 (21:34 -0700)]
rgw: changed data log renew thread

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: limit num of buckets in data changes log
Yehuda Sadeh [Thu, 2 May 2013 01:10:54 +0000 (18:10 -0700)]
rgw: limit num of buckets in data changes log

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: use shared_ptr instead of RefCountedObject
Yehuda Sadeh [Wed, 1 May 2013 22:40:44 +0000 (15:40 -0700)]
rgw: use shared_ptr instead of RefCountedObject

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agolru_map: infrastructure for a bounded map
Yehuda Sadeh [Wed, 1 May 2013 20:28:43 +0000 (13:28 -0700)]
lru_map: infrastructure for a bounded map

Useful for cache-like maps, where we want to control
the max number of entries in the map.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: data changes log, don't always send new requests
Yehuda Sadeh [Wed, 1 May 2013 20:32:10 +0000 (13:32 -0700)]
rgw: data changes log, don't always send new requests

We may piggy back on older entries that hasn't expired yet.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: data changes log, naive implementation
Yehuda Sadeh [Fri, 26 Apr 2013 02:06:08 +0000 (19:06 -0700)]
rgw: data changes log, naive implementation

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: decouple bucket data pool from bucket index pool
Yehuda Sadeh [Thu, 18 Apr 2013 21:31:50 +0000 (14:31 -0700)]
rgw: decouple bucket data pool from bucket index pool

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: fix get_obj() with zero sized obj
Yehuda Sadeh [Thu, 18 Apr 2013 20:30:45 +0000 (13:30 -0700)]
rgw: fix get_obj() with zero sized obj

Now that even zero sized objs have manifest a
test had to be modified.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: don't set shadow obj attr in object metadata
Yehuda Sadeh [Wed, 17 Apr 2013 19:54:28 +0000 (12:54 -0700)]
rgw: don't set shadow obj attr in object metadata

This is incorrect, was only right for pre-manifest objects.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw-admin: object stat also decodes policy
Yehuda Sadeh [Wed, 17 Apr 2013 19:49:01 +0000 (12:49 -0700)]
rgw-admin: object stat also decodes policy

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: update cli test for radosgw-admin
Yehuda Sadeh [Wed, 17 Apr 2013 18:47:54 +0000 (11:47 -0700)]
rgw: update cli test for radosgw-admin

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoMakefile.am: add missing header file
Yehuda Sadeh [Wed, 17 Apr 2013 18:21:56 +0000 (11:21 -0700)]
Makefile.am: add missing header file

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw-admin: add object stat command
Yehuda Sadeh [Wed, 17 Apr 2013 02:20:59 +0000 (19:20 -0700)]
rgw-admin: add object stat command

for retrieving object metadata.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw-admin: bucket list also specifies object namespace
Yehuda Sadeh [Wed, 17 Apr 2013 00:44:46 +0000 (17:44 -0700)]
rgw-admin: bucket list also specifies object namespace

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: copy_obj uses req_id as tag
Yehuda Sadeh [Tue, 16 Apr 2013 23:58:31 +0000 (16:58 -0700)]
rgw: copy_obj uses req_id as tag

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: radosgw-admin bucket list --bucket lists bucket objects
Yehuda Sadeh [Tue, 16 Apr 2013 05:49:26 +0000 (22:49 -0700)]
rgw: radosgw-admin bucket list --bucket lists bucket objects

Also lists tag for each object.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: call rgw_store_user_info() with objv_tracker
Yehuda Sadeh [Tue, 16 Apr 2013 04:40:11 +0000 (21:40 -0700)]
rgw: call rgw_store_user_info() with objv_tracker

another rebase casualty

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw-admin: fix some more merge issues
Yehuda Sadeh [Tue, 16 Apr 2013 02:08:47 +0000 (19:08 -0700)]
rgw-admin: fix some more merge issues

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw-admin: fix user_id initialization
Yehuda Sadeh [Tue, 16 Apr 2013 01:51:35 +0000 (18:51 -0700)]
rgw-admin: fix user_id initialization

broken due to rebase

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: share object tag and index tag
Yehuda Sadeh [Mon, 15 Apr 2013 19:32:48 +0000 (12:32 -0700)]
rgw: share object tag and index tag

object tag is now being written to the index, so that both
object and index hold the same tag. This is needed so that we
could know whether object and index refer to the same instance.

Also cleanup old legacy code that did atomic ops through cloning
objects.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: bucket index log fixes
Yehuda Sadeh [Fri, 12 Apr 2013 21:12:38 +0000 (14:12 -0700)]
rgw: bucket index log fixes

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoradosgw-admin: bilog list gets marker and max-entries params
Yehuda Sadeh [Fri, 12 Apr 2013 17:15:06 +0000 (10:15 -0700)]
radosgw-admin: bilog list gets marker and max-entries params

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoradosgw-admin, cls_rgw: list bucket index log
Yehuda Sadeh [Thu, 11 Apr 2013 21:43:35 +0000 (14:43 -0700)]
radosgw-admin, cls_rgw: list bucket index log

a new radosgw-admin command to list bucket index log.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agocls_rgw: bucket index versioning
Yehuda Sadeh [Thu, 11 Apr 2013 18:33:27 +0000 (11:33 -0700)]
cls_rgw: bucket index versioning

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: fix broken radosgw-admin user * commands
Yehuda Sadeh [Thu, 11 Apr 2013 06:00:28 +0000 (23:00 -0700)]
rgw: fix broken radosgw-admin user * commands

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agocls_rgw, rgw: bucket index logs modifications
Yehuda Sadeh [Wed, 10 Apr 2013 21:49:34 +0000 (14:49 -0700)]
cls_rgw, rgw: bucket index logs modifications

Add a log to the bucket index.

This commit also ties the "epoch" version that is kept
per index entry to the relevant ceph pool id. This fixes
the dependency on the specific pool where the object was
created, and makes it possible to copy rgw data pools.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: metadata rm
Yehuda Sadeh [Fri, 22 Mar 2013 18:01:02 +0000 (11:01 -0700)]
rgw: metadata rm

Still needs to fix the way we remove user entries; need to take
different path, similar to put_entry())

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: cls_log_trim boundary change
Yehuda Sadeh [Fri, 22 Mar 2013 17:54:47 +0000 (10:54 -0700)]
rgw: cls_log_trim boundary change

end_time is not inclusive

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: show metadata log through radosgw-admin
Yehuda Sadeh [Wed, 20 Mar 2013 22:47:14 +0000 (15:47 -0700)]
rgw: show metadata log through radosgw-admin

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: use new cls_log listing interface
Yehuda Sadeh [Wed, 20 Mar 2013 17:38:30 +0000 (10:38 -0700)]
rgw: use new cls_log listing interface

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agocls_log: adjust listing api
Yehuda Sadeh [Wed, 20 Mar 2013 17:37:42 +0000 (10:37 -0700)]
cls_log: adjust listing api

Listing api now also gets end time and a marker.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: log user operations
Yehuda Sadeh [Tue, 19 Mar 2013 21:52:47 +0000 (14:52 -0700)]
rgw: log user operations

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: track object versions between reads and writes
Yehuda Sadeh [Tue, 19 Mar 2013 14:32:16 +0000 (07:32 -0700)]
rgw: track object versions between reads and writes

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: initialize meta_mgr earlier
Yehuda Sadeh [Fri, 15 Mar 2013 19:52:25 +0000 (12:52 -0700)]
rgw: initialize meta_mgr earlier

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agotest_cls_log: remove warning
Yehuda Sadeh [Fri, 15 Mar 2013 19:51:58 +0000 (12:51 -0700)]
test_cls_log: remove warning

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agocls_log: extend unitest
Yehuda Sadeh [Fri, 15 Mar 2013 18:14:02 +0000 (11:14 -0700)]
cls_log: extend unitest

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agocls_log: more fixes
Yehuda Sadeh [Fri, 15 Mar 2013 18:02:10 +0000 (11:02 -0700)]
cls_log: more fixes

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agocls_log: unitest
Yehuda Sadeh [Thu, 14 Mar 2013 20:42:44 +0000 (13:42 -0700)]
cls_log: unitest

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agocls_log: fixes, other adjustments
Yehuda Sadeh [Thu, 14 Mar 2013 20:42:29 +0000 (13:42 -0700)]
cls_log: fixes, other adjustments

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoobjclass: provide new api for unique subop versioning
Yehuda Sadeh [Thu, 14 Mar 2013 17:32:00 +0000 (10:32 -0700)]
objclass: provide new api for unique subop versioning

We need to be able to generate a unique identifier for
each subop. This can be useful e.g., if we want to keep multiple
omap data entries indexed by the same key. The unique id
is being generated by the current object id and the current
osd subop count. For write operations it's unique.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoosd: keep track of current osd subop num
Yehuda Sadeh [Thu, 14 Mar 2013 17:28:54 +0000 (10:28 -0700)]
osd: keep track of current osd subop num

This can be used later to generate unique subop versions
in compound write operations.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agocls_log: trim works in chunks, returns -ENODATA when done
Yehuda Sadeh [Tue, 12 Mar 2013 21:31:27 +0000 (14:31 -0700)]
cls_log: trim works in chunks, returns -ENODATA when done

Also created a higher level interface that iterates until
done.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agocls_log: a class to handle info sorted by timestamp
Yehuda Sadeh [Fri, 8 Mar 2013 23:30:31 +0000 (15:30 -0800)]
cls_log: a class to handle info sorted by timestamp

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: metadata list user, only show uids
Yehuda Sadeh [Wed, 6 Mar 2013 18:25:52 +0000 (10:25 -0800)]
rgw: metadata list user, only show uids

don't show unrelated object names

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: user metadata updates also key version
Yehuda Sadeh [Wed, 6 Mar 2013 06:00:43 +0000 (22:00 -0800)]
rgw: user metadata updates also key version

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: add top level metadata handler
Yehuda Sadeh [Tue, 5 Mar 2013 22:43:00 +0000 (14:43 -0800)]
rgw: add top level metadata handler

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: put metadata, other cleanups
Yehuda Sadeh [Tue, 5 Mar 2013 22:08:21 +0000 (14:08 -0800)]
rgw: put metadata, other cleanups

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: metadata manager, api to list keys
Yehuda Sadeh [Mon, 4 Mar 2013 20:25:34 +0000 (12:25 -0800)]
rgw: metadata manager, api to list keys

Also, implement key listing for user metadata.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: metadata set/get infrastructure
Yehuda Sadeh [Fri, 1 Mar 2013 21:01:18 +0000 (13:01 -0800)]
rgw: metadata set/get infrastructure

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: rgw_get_system_obj() can return obj_version
Yehuda Sadeh [Fri, 1 Mar 2013 00:48:57 +0000 (16:48 -0800)]
rgw: rgw_get_system_obj() can return obj_version

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agocls_version: add cls_version_read(ObjectReadOpeation&)
Yehuda Sadeh [Fri, 1 Mar 2013 00:08:30 +0000 (16:08 -0800)]
cls_version: add cls_version_read(ObjectReadOpeation&)

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agolibrados: add two more ObjectOperation::exec()
Yehuda Sadeh [Thu, 28 Feb 2013 17:56:43 +0000 (09:56 -0800)]
librados: add two more ObjectOperation::exec()

 - one that also gets out bufferlist and ret value pointer
 - one that gets a callback context

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: start tying metadata objs to version objclass
Yehuda Sadeh [Thu, 28 Feb 2013 18:14:21 +0000 (10:14 -0800)]
rgw: start tying metadata objs to version objclass

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agocls_version: unitest
Yehuda Sadeh [Wed, 27 Feb 2013 02:01:46 +0000 (18:01 -0800)]
cls_version: unitest

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agocls_version: various fixes
Yehuda Sadeh [Wed, 27 Feb 2013 02:00:59 +0000 (18:00 -0800)]
cls_version: various fixes

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agocls_version: create a new objclass
Yehuda Sadeh [Tue, 26 Feb 2013 22:53:49 +0000 (14:53 -0800)]
cls_version: create a new objclass

New objclass to track and modify objects versions.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: fix json decoding of rgw_bucket
Yehuda Sadeh [Sat, 23 Feb 2013 00:19:37 +0000 (16:19 -0800)]
rgw: fix json decoding of rgw_bucket

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: regionmap update
Yehuda Sadeh [Fri, 22 Feb 2013 20:42:18 +0000 (12:42 -0800)]
rgw: regionmap update

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: get/set region map
Yehuda Sadeh [Fri, 22 Feb 2013 01:46:24 +0000 (17:46 -0800)]
rgw: get/set region map

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: zone list, setup changes
Yehuda Sadeh [Thu, 21 Feb 2013 23:37:57 +0000 (15:37 -0800)]
rgw: zone list, setup changes

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agocommon/ceph_parser.cc: cleanup
Yehuda Sadeh [Thu, 21 Feb 2013 22:56:11 +0000 (14:56 -0800)]
common/ceph_parser.cc: cleanup

remove extra logging to stdout

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: set region info, default region
Yehuda Sadeh [Thu, 21 Feb 2013 01:03:10 +0000 (17:03 -0800)]
rgw: set region info, default region

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: can list regions, show default region info
Yehuda Sadeh [Thu, 21 Feb 2013 00:22:40 +0000 (16:22 -0800)]
rgw: can list regions, show default region info

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agorgw: some region/zone related cleanups/fixes
Yehuda Sadeh [Wed, 20 Feb 2013 01:57:06 +0000 (17:57 -0800)]
rgw: some region/zone related cleanups/fixes

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>