Project

General

Profile

Actions

Bug #1083

closed

rgw: log by user, user+bucket

Added by Sage Weil almost 13 years ago. Updated over 6 years ago.

Status:
Won't Fix
Priority:
High
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

?

Actions

Also available in: Atom PDF