rgw: Generational BILog Trim#41051
rgw: Generational BILog Trim#41051adamemerson wants to merge 9 commits intoceph:wip-rgw-multisite-reshardfrom
Conversation
|
thanks @adamemerson, but this logic needs to be integrated with the background trim logic in rgw_trim_bilog.cc rather than the admin api/command when the background trimming thread identifies a bucket to trim, it spawns we need to teach however, this trimming logic is careful to throttle how much work it does on each bucket, because too many omap deletes can melt osds. so we probably want to limit |
36c2959 to
95355ab
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
c0d6675 to
2ff7e2d
Compare
6cbcd02 to
cd4c8c7
Compare
|
@cbodley re²view if you would, please. |
cd4c8c7 to
0e08a8f
Compare
|
@cbodley Please re³view. |
|
There's one test failure, but it looks to be an issue with BILog_List in radosgw-admin |
Needed so we can get the incremental generation. Guard this behind a version check and return the original output if less than 2. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
To bucket_index_layout_generation Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Fetch the current generation from remote peers and trim the minimum marker on the minimum generation. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
From the REST interface and radosgw-admin. Assume Generation 0 if none provided and error if it doesn't exist. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
A more generally applicable way of removing objects in coroutines. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
0e08a8f to
ff84465
Compare
|
@cbodley Please re⁴view. |
ff84465 to
c96c51c
Compare
Only one generation per call. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
c96c51c to
ea950a9
Compare
|
@cbodley Okay, let's see if we're good. |
cbodley
left a comment
There was a problem hiding this comment.
looks good! let's start thinking about how to get some test coverage, especially for the deletion of old generations and updates to the bucket info
|
rebased and merged into #39002, thanks @adamemerson! |
Generational BILog trim.