Bug #5152
rgw: usage iteration by user doesn't skip to correct epoch
0%
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
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 <yehuda@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
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 <yehuda@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
(cherry picked from commit 8b3a04dec8be13559716667d4b16cde9e9543feb)
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 <yehuda@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
(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.