Project

General

Profile

Bug #5152

rgw: usage iteration by user doesn't skip to correct epoch

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

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
% Done:

0%

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

Description

Instead of starting to iterate from the correct timestamp, we iterate fro,m the beginning of time (if a user was specified).

Associated revisions

Revision 8b3a04de (diff)
Added by Yehuda Sadeh almost 11 years ago

rgw: iterate usage entries from correct entry

Fixes: #5152
When iterating through usage entries, and when user id was
provided, we started at the user's first entry and not from
the entry indexed by the request start time.
This commit fixes the issue.

Backport: bobtail

Signed-off-by: Yehuda Sadeh <>
Reviewed-by: Greg Farnum <>

Revision 3984b988 (diff)
Added by Yehuda Sadeh almost 11 years ago

rgw: iterate usage entries from correct entry

Fixes: #5152
When iterating through usage entries, and when user id was
provided, we started at the user's first entry and not from
the entry indexed by the request start time.
This commit fixes the issue.

Backport: bobtail

Signed-off-by: Yehuda Sadeh <>
Reviewed-by: Greg Farnum <>
(cherry picked from commit 8b3a04dec8be13559716667d4b16cde9e9543feb)

Revision a460e53e (diff)
Added by Yehuda Sadeh almost 11 years ago

rgw: iterate usage entries from correct entry

Fixes: #5152
When iterating through usage entries, and when user id was
provided, we started at the user's first entry and not from
the entry indexed by the request start time.
This commit fixes the issue.

Backport: bobtail

Signed-off-by: Yehuda Sadeh <>
Reviewed-by: Greg Farnum <>
(cherry picked from commit 8b3a04dec8be13559716667d4b16cde9e9543feb)

History

#1 Updated by Yehuda Sadeh almost 11 years ago

  • Backport set to bobtail

#2 Updated by Sage Weil almost 11 years ago

  • Status changed from New to Fix Under Review

#3 Updated by Ian Colle almost 11 years ago

  • Assignee set to Greg Farnum

Please review - needs to go into Next, Cuttlefish, and Bobtail

#4 Updated by Greg Farnum almost 11 years ago

  • Status changed from Fix Under Review to 7
  • Assignee changed from Greg Farnum to Yehuda Sadeh

Reviewed-by.

#5 Updated by Ian Colle almost 11 years ago

  • Status changed from 7 to Resolved

Landed to Next, Bobtail, and Cuttlefish.

Also available in: Atom PDF