Feature #2516
closed
rgw: new bandwidth-only per-user log
Added by Yehuda Sadeh almost 12 years ago.
Updated over 6 years ago.
Description
- orthogonal to operations logs
- only aggregate user bandwidth usage (read, write) per date
- rgw sends a periodical update to the backend of user's usage
- admin command to get all bandwidth from a specific date up to a specific date
- admin command to trim user log
implementation:
- bandwidth info is kept in per-user object (actually, on more than one object to spread user load)
- info is kept on object's omap; date (epoch) as key, read and write usage as value
- new class method to add bandwidth info for a specific timestamp
- rgw aggregate bandwidth info per user and flushes that periodically to backend
- rgw rounds timestamp to nearest day/hour/minute -- probably hour?
- a new class method to delete bandwidth info for a specific timestamp
- radosgw-admin command to get user bandwidth info, by iterating over all the possible log objects for that user and aggregating the info
- Translation missing: en.field_position set to 1
- Translation missing: en.field_story_points set to 8
- Translation missing: en.field_position deleted (
1)
- Translation missing: en.field_position set to 1
- Target version set to v0.49
- Translation missing: en.field_position deleted (
2)
- Translation missing: en.field_position set to 65
- Status changed from New to In Progress
- Translation missing: en.field_position deleted (
66)
- Translation missing: en.field_position set to 66
- Translation missing: en.field_position deleted (
67)
- Translation missing: en.field_position set to 3
- Assignee set to Yehuda Sadeh
I think the last thing we need here is to add it to the radosgw-admin test so that we don't break these commands in the future.
- Status changed from In Progress to Resolved
- Project changed from Ceph to rgw
- Category deleted (
22)
- Target version deleted (
v0.49)
Bulk reassign of radosgw category to RGW project.
Also available in: Atom
PDF