Project

General

Profile

Bug #1083

rgw: log by user, user+bucket

Added by Sage Weil almost 13 years ago. Updated about 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

?

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.

Also available in: Atom PDF