Skip to content
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

[DNM] jewel: rgw: dont log EBUSY errors in 'sync error list' #19638

Closed
wants to merge 1 commit into from

Conversation

mattbenjamin
Copy link
Contributor

@mattbenjamin mattbenjamin commented Dec 21, 2017

Backport tracker: http://tracker.ceph.com/issues/22582

these temporary errors get retried automatically, so no admin
intervention is required. logging them only serves to waste space in
omap and obscure the more serious sync errors

Fixes: http://tracker.ceph.com/issues/22473

Signed-off-by: Casey Bodley cbodley@redhat.com
(cherry picked from commit ca4510b)
Signed-off-by: Matt Benjamin mbenjamin@redhat.com

these temporary errors get retried automatically, so no admin
intervention is required. logging them only serves to waste space in
omap and obscure the more serious sync errors

Fixes: http://tracker.ceph.com/issues/22473

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit ca4510b)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
@mattbenjamin mattbenjamin added this to the jewel milestone Dec 21, 2017
@mattbenjamin mattbenjamin changed the title rgw: dont log EBUSY errors in 'sync error list' jewel: rgw: dont log EBUSY errors in 'sync error list' Dec 21, 2017
yield call(sync_env->error_logger->log_error_cr(sync_env->conn->get_remote_id(), "data", raw_key,
-sync_status, string("failed to sync bucket instance: ") + cpp_strerror(-sync_status)));
if (retcode < 0) {
tn->log(0, SSTR("ERROR: failed to log sync failure: retcode=" << retcode));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tn here is part of the sync tracing which wasn't backported to jewel. i think this line needs to remain as ldout()

@smithfarm smithfarm changed the title jewel: rgw: dont log EBUSY errors in 'sync error list' [DNM] jewel: rgw: dont log EBUSY errors in 'sync error list' Jan 2, 2018
@smithfarm
Copy link
Contributor

Duplicate backport PR is open at #19908

@smithfarm
Copy link
Contributor

closing in favor of #19908

@smithfarm smithfarm closed this Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants