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
rgw: log refactoring for data sync #23843
Conversation
unrelated test failures and valgrind issues |
I have created the tracker for this - http://tracker.ceph.com/issues/35830 |
@smithfarm not all of it, no. I think @vumrao is only interested in one piece, and i'll split that into a separate pr |
i retargeted that tracker issue at #23981 |
src/rgw/rgw_data_sync.cc
Outdated
if (ret < 0) { | ||
ldout(sync_env->cct, 0) << "ERROR: a sync operation returned error" << dendl; | ||
/* we have reported this error */ | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo: remove this commit
13c5019
to
c6fec14
Compare
and passes its pointer to RGWRemoteDataLog Signed-off-by: Casey Bodley <cbodley@redhat.com>
and passes its pointer to RGWRemoteBucketLog Signed-off-by: Casey Bodley <cbodley@redhat.com>
the majority of the debug output from this logger is duplicated by the sync tracing output Signed-off-by: Casey Bodley <cbodley@redhat.com>
c6fec14
to
880c348
Compare
@cbodley: The second test you just ran didn't pass |
@alimaredia i don't think so, no. i see that failure once in a while, i guess there's a race in the test itself but haven't had time to dig into it edit: i opened http://tracker.ceph.com/issues/36034 to track this one |
removes the RGWDataSyncDebugLogger, which duplicates most of the logging from the sync trace framework
for logging outside of sync tracing, this implements DoutPrefixProvider for both RGWBucketSyncStatusManager and RGWDataSyncStatusManager and replaces their ldout()s with ldpp_dout()