Project

General

Profile

Actions

Feature #5133

closed

rgw: RESTful api to lock/unlock mdlog

Added by Yehuda Sadeh almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Actions #1

Updated by Yehuda Sadeh almost 11 years ago

  • Assignee deleted (Alex Elder)
Actions #2

Updated by Yehuda Sadeh almost 11 years ago

  • Assignee set to Babu Shanmugam
Actions #3

Updated by Yehuda Sadeh almost 11 years ago

  • Get datalog info

(we'll modify the list metadata log):

GET /admin/log?type=metadata

result:

return a json representation of the datalog information:

{
num_objects = <num>
}

  • Lock datalog object

POST /admin/datalog?lock&id=<shard num>&length=<time in
seconds>&lock_id=<lock id>

lock_id is a user generated string (e.g., agent id)

  • Unlock datalog object

POST /admin/datalog?unlock&id=<shard num>&length=<time in
seconds>&lock_id=<lock id>

  • list metadata log

this should be done by adding the id param

Actions #4

Updated by Yehuda Sadeh almost 11 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF