Bug #1083
rgw: log by user, user+bucket
0%
Description
problem 1:
- user creates bucket at beginning if day
- pumps full of data
- removes bucket at end of day
- we sample billing, scrape logs, and miss out on the bucket that no longer exists. never scape the $bucket.$date log object.
solution:
- create a per-user log object for bucket creations, deletions, any other non-bucket requests
problem 2:
- user a creates bucket foo
- does some stuff
- user a deletes foo
- user b creates bucket foo
- does some stuff
- we sample billing, scrape logs, and bill user b for user a's usage
solution:
- name bucket log object $owner.$bucketid.$date
?
History
#1 Updated by Sage Weil almost 13 years ago
- translation missing: en.field_position set to 2
#2 Updated by Sage Weil almost 13 years ago
actually, we can scratch problem 2.. each log entry apparently has the bucket owner at the time of the request.
#3 Updated by Sage Weil almost 13 years ago
- Status changed from New to Won't Fix
nevermind. we can just list the log objects directly from the .log pool.
#4 Updated by John Spray about 6 years ago
- Project changed from Ceph to rgw
- Category deleted (
22) - Target version deleted (
v0.29)
Bulk reassign of radosgw category to RGW project.