summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* rgw: metadata rmwip-rgw-zone-2Yehuda Sadeh2013-03-225-26/+239
| | | | | | | 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>
* rgw: cls_log_trim boundary changeYehuda Sadeh2013-03-221-1/+1
| | | | | | end_time is not inclusive Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: show metadata log through radosgw-adminYehuda Sadeh2013-03-204-26/+154
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: use new cls_log listing interfaceYehuda Sadeh2013-03-203-0/+29
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls_log: adjust listing apiYehuda Sadeh2013-03-205-25/+109
| | | | | | Listing api now also gets end time and a marker. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: log user operationsYehuda Sadeh2013-03-198-5/+95
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: track object versions between reads and writesYehuda Sadeh2013-03-1910-89/+200
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: initialize meta_mgr earlierYehuda Sadeh2013-03-151-2/+2
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* test_cls_log: remove warningYehuda Sadeh2013-03-151-5/+0
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls_log: extend unitestYehuda Sadeh2013-03-151-22/+212
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls_log: more fixesYehuda Sadeh2013-03-151-8/+12
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls_log: unitestYehuda Sadeh2013-03-142-0/+133
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls_log: fixes, other adjustmentsYehuda Sadeh2013-03-143-9/+33
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* objclass: provide new api for unique subop versioningYehuda Sadeh2013-03-142-0/+34
| | | | | | | | | | 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>
* osd: keep track of current osd subop numYehuda Sadeh2013-03-142-1/+4
| | | | | | | This can be used later to generate unique subop versions in compound write operations. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls_log: trim works in chunks, returns -ENODATA when doneYehuda Sadeh2013-03-123-1/+28
| | | | | | | Also created a higher level interface that iterates until done. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls_log: a class to handle info sorted by timestampYehuda Sadeh2013-03-086-0/+427
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: metadata list user, only show uidsYehuda Sadeh2013-03-061-2/+18
| | | | | | don't show unrelated object names Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: user metadata updates also key versionYehuda Sadeh2013-03-057-22/+23
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: add top level metadata handlerYehuda Sadeh2013-03-053-2/+64
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: put metadata, other cleanupsYehuda Sadeh2013-03-056-17/+141
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: metadata manager, api to list keysYehuda Sadeh2013-03-046-11/+136
| | | | | | Also, implement key listing for user metadata. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: metadata set/get infrastructureYehuda Sadeh2013-03-0110-7/+218
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: rgw_get_system_obj() can return obj_versionYehuda Sadeh2013-02-288-50/+52
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls_version: add cls_version_read(ObjectReadOpeation&)Yehuda Sadeh2013-02-283-1/+37
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* librados: add two more ObjectOperation::exec()Yehuda Sadeh2013-02-283-2/+53
| | | | | | | - one that also gets out bufferlist and ret value pointer - one that gets a callback context Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: start tying metadata objs to version objclassYehuda Sadeh2013-02-286-30/+118
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* Merge branch 'wip-cls-version' into wip-rgw-zone-2Yehuda Sadeh2013-02-279-1/+857
|\
| * cls_version: unitestwip-cls-versionYehuda Sadeh2013-02-262-0/+293
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| * cls_version: various fixesYehuda Sadeh2013-02-263-6/+8
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| * cls_version: create a new objclassYehuda Sadeh2013-02-268-1/+562
| | | | | | | | | | | | New objclass to track and modify objects versions. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: fix json decoding of rgw_bucketYehuda Sadeh2013-02-253-15/+23
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: regionmap updateYehuda Sadeh2013-02-256-14/+145
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: get/set region mapYehuda Sadeh2013-02-253-0/+94
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: zone list, setup changesYehuda Sadeh2013-02-253-62/+132
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | common/ceph_parser.cc: cleanupYehuda Sadeh2013-02-251-2/+0
| | | | | | | | | | | | remove extra logging to stdout Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: set region info, default regionYehuda Sadeh2013-02-251-1/+49
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: can list regions, show default region infoYehuda Sadeh2013-02-253-29/+141
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: some region/zone related cleanups/fixesYehuda Sadeh2013-02-253-7/+8
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: admin command to show region infoYehuda Sadeh2013-02-253-14/+56
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: derr -> lderrYehuda Sadeh2013-02-251-2/+4
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: region creationYehuda Sadeh2013-02-256-17/+291
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: region management encoding/decoding changesYehuda Sadeh2013-02-253-110/+96
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: define region/zone data structuresYehuda Sadeh2013-02-252-0/+141
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: s/RadosParams/ZoneParams/gYehuda Sadeh2013-02-257-69/+69
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: zone info is configurableYehuda Sadeh2013-02-253-2/+120
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: s/cluster/zoneYehuda Sadeh2013-02-253-15/+15
| | | | | | | | | | | | Old cluster definition is what we'd call zone from now on. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: generic decode_json for containersYehuda Sadeh2013-02-252-32/+59
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | rgw: add encode_jsonYehuda Sadeh2013-02-256-127/+218
| | | | | | | | | | | | | | | | | | | | dump() just dumps the internal content of an object, encode_json() create the object inside its own section. Note that there are cases where we don't want an object to be surrounded by a section, e.g., when an object represents an array. In such a case we'd need to override the encode_json() for this object type. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* | moved rgw/rgw_json.* common/ceph_json.*Yehuda Sadeh2013-02-257-27/+26
| | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>