mirror of
https://github.com/ceph/ceph
synced 2025-01-17 08:21:47 +00:00
rgw: modifying multi-site log messages.
Increasing the log level and removing 'ERROR' from messages that appear during normal multi-site operation. Fixes: http://tracker.ceph.com/issues/16121 Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
This commit is contained in:
parent
181477e377
commit
e1737ddaa0
@ -126,7 +126,7 @@ public:
|
||||
if (ret < 0) {
|
||||
error_stream << "http operation failed: " << op->to_str()
|
||||
<< " status=" << op->get_http_status() << std::endl;
|
||||
lsubdout(cct, rgw, 0) << "ERROR: failed to wait for op, ret=" << ret
|
||||
lsubdout(cct, rgw, 5) << "failed to wait for op, ret=" << ret
|
||||
<< ": " << op->to_str() << dendl;
|
||||
op->put();
|
||||
return ret;
|
||||
|
@ -1002,7 +1002,7 @@ public:
|
||||
yield init_lease_cr();
|
||||
while (!lease_cr->is_locked()) {
|
||||
if (lease_cr->is_done()) {
|
||||
ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl;
|
||||
ldout(cct, 5) << "lease cr failed, done early " << dendl;
|
||||
set_status("lease lock failed, early abort");
|
||||
return set_cr_error(lease_cr->get_ret_status());
|
||||
}
|
||||
@ -1068,7 +1068,7 @@ public:
|
||||
yield init_lease_cr();
|
||||
while (!lease_cr->is_locked()) {
|
||||
if (lease_cr->is_done()) {
|
||||
ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl;
|
||||
ldout(cct, 5) << "lease cr failed, done early " << dendl;
|
||||
set_status("lease lock failed, early abort");
|
||||
return set_cr_error(lease_cr->get_ret_status());
|
||||
}
|
||||
@ -2170,7 +2170,7 @@ int RGWBucketShardFullSyncCR::operate()
|
||||
}
|
||||
while (!lease_cr->is_locked()) {
|
||||
if (lease_cr->is_done()) {
|
||||
ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl;
|
||||
ldout(cct, 5) << "lease cr failed, done early " << dendl;
|
||||
set_status("lease lock failed, early abort");
|
||||
return set_cr_error(lease_cr->get_ret_status());
|
||||
}
|
||||
@ -2316,7 +2316,7 @@ int RGWBucketShardIncrementalSyncCR::operate()
|
||||
}
|
||||
while (!lease_cr->is_locked()) {
|
||||
if (lease_cr->is_done()) {
|
||||
ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl;
|
||||
ldout(cct, 5) << "lease cr failed, done early " << dendl;
|
||||
set_status("lease lock failed, early abort");
|
||||
return set_cr_error(lease_cr->get_ret_status());
|
||||
}
|
||||
@ -2507,7 +2507,7 @@ int RGWRunBucketSyncCoroutine::operate()
|
||||
}
|
||||
}
|
||||
if (retcode < 0) {
|
||||
ldout(sync_env->cct, 0) << "ERROR: full sync on " << bucket_name << " bucket_id=" << bucket_id << " shard_id=" << shard_id << " failed, retcode=" << retcode << dendl;
|
||||
ldout(sync_env->cct, 5) << "full sync on " << bucket_name << " bucket_id=" << bucket_id << " shard_id=" << shard_id << " failed, retcode=" << retcode << dendl;
|
||||
return set_cr_error(retcode);
|
||||
}
|
||||
|
||||
@ -2518,7 +2518,7 @@ int RGWRunBucketSyncCoroutine::operate()
|
||||
}
|
||||
}
|
||||
if (retcode < 0) {
|
||||
ldout(sync_env->cct, 0) << "ERROR: incremental sync on " << bucket_name << " bucket_id=" << bucket_id << " shard_id=" << shard_id << " failed, retcode=" << retcode << dendl;
|
||||
ldout(sync_env->cct, 5) << "incremental sync on " << bucket_name << " bucket_id=" << bucket_id << " shard_id=" << shard_id << " failed, retcode=" << retcode << dendl;
|
||||
return set_cr_error(retcode);
|
||||
}
|
||||
|
||||
|
@ -622,7 +622,7 @@ public:
|
||||
}
|
||||
while (!lease_cr->is_locked()) {
|
||||
if (lease_cr->is_done()) {
|
||||
ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl;
|
||||
ldout(cct, 5) << "lease cr failed, done early " << dendl;
|
||||
set_status("lease lock failed, early abort");
|
||||
return set_cr_error(lease_cr->get_ret_status());
|
||||
}
|
||||
@ -795,7 +795,7 @@ public:
|
||||
}
|
||||
while (!lease_cr->is_locked()) {
|
||||
if (lease_cr->is_done()) {
|
||||
ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl;
|
||||
ldout(cct, 5) << "lease cr failed, done early " << dendl;
|
||||
set_status("failed acquiring lock");
|
||||
return set_cr_error(lease_cr->get_ret_status());
|
||||
}
|
||||
@ -1388,7 +1388,7 @@ public:
|
||||
}
|
||||
while (!lease_cr->is_locked()) {
|
||||
if (lease_cr->is_done()) {
|
||||
ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl;
|
||||
ldout(cct, 5) << "lease cr failed, done early " << dendl;
|
||||
drain_all();
|
||||
return lease_cr->get_ret_status();
|
||||
}
|
||||
@ -1510,7 +1510,7 @@ public:
|
||||
}
|
||||
while (!lease_cr->is_locked()) {
|
||||
if (lease_cr->is_done()) {
|
||||
ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl;
|
||||
ldout(cct, 5) << "lease cr failed, done early " << dendl;
|
||||
drain_all();
|
||||
return lease_cr->get_ret_status();
|
||||
}
|
||||
@ -2099,7 +2099,7 @@ int RGWCloneMetaLogCoroutine::state_receive_rest_response()
|
||||
int ret = http_op->wait(&data);
|
||||
if (ret < 0) {
|
||||
error_stream << "http operation failed: " << http_op->to_str() << " status=" << http_op->get_http_status() << std::endl;
|
||||
ldout(cct, 0) << "ERROR: failed to wait for op, ret=" << ret << dendl;
|
||||
ldout(cct, 5) << "failed to wait for op, ret=" << ret << dendl;
|
||||
http_op->put();
|
||||
http_op = NULL;
|
||||
return set_cr_error(ret);
|
||||
|
Loading…
Reference in New Issue
Block a user