New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jewel: rgw: automated trimming of datalog and mdlog #20061
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this allows us to limit the number of outstanding requests for shard markers there also appeared to be issues with spawning the shard CRs from RGWReadDataSyncStatusCoroutine::handle_data(), because handle_data() was returning before the shard CRs completed Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 30823c5)
and took out the redundant 'rgw' from 'rgw meta sync:' Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 821c70d)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit ebbb70b)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit ccef4b0)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit a66b4cc) Conflicts: src/rgw/rgw_rest_log.cc jewel/v10.2.10 already has "rgw: change metadata read_sync_status interface" so we need to use the read_sync_status() call in src/rgw/rgw_rest_log.cc.
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit d67436b)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 20f31a4)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 6a366f9)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 3b674bb)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 5ded7ee) Conflicts: src/rgw/rgw_data_sync.h (sync modules not backported)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 9a1b235)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 0777fff)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit f8d9ac6)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 5deabd3)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit db79bfa)
anonymous namespaces do terrible things to name mangling, and this shows up in our coroutine logging Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit fadfc16)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 2cee82f) Conflicts: rgw_obj vs rgw_raw_obj src/rgw/rgw_cache.h src/rgw/rgw_rados.cc src/rgw/rgw_rados.h
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit ca462a3) Conflicts: rgw_obj vs rgw_raw_obj src/rgw/rgw_cr_rados.cc src/rgw/rgw_cr_rados.h
cbodley
force-pushed
the
wip-jewel-rgw-log-trim
branch
2 times, most recently
from
January 23, 2018 15:45
23bdb0a
to
215aba6
Compare
cbodley
force-pushed
the
wip-jewel-rgw-log-trim
branch
from
January 23, 2018 16:06
215aba6
to
8e67e7f
Compare
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 70bcf45) Conflicts: rgw_raw_obj src/rgw/rgw_metadata.cc
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 8bb1067)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 00d7b7b)
Conflicts: rgw_raw_obj src/rgw/rgw_sync.cc Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 32d16a9)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit eb140e3)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 1765f86)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 1afabc1)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 6e9296d)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 6cde60e)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 3376c4b)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 0557a79)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 8431f17)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit aaab1ec)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 1646264)
limit the number of concurrent sync status requests to peers Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 667ec9f)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit ec0a655)
cbodley
force-pushed
the
wip-jewel-rgw-log-trim
branch
from
January 23, 2018 16:25
8e67e7f
to
f374444
Compare
Integration testing: http://tracker.ceph.com/issues/21742#note-11 Will post a summary to the PR when the testing is complete. |
@yehudasa @oritwas This PR passed two RGW runs at http://tracker.ceph.com/issues/21742#note-11 Do you think it's ready to merge? |
@yehudasa @mattbenjamin @oritwas Pinging for review. Is this something that needs to go into 10.2.11 ? |
@smithfarm yes please |
yehudasa
approved these changes
Feb 23, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
backports datalog trim (#10372 and #10546) and mdlog trim (#13111) for jewel
Fixes: http://tracker.ceph.com/issues/18277