Fixes typos in log messages.
Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
ldpp_dout(dpp, 0) << "D4NFilterObject::D4NFilterReadOp::D4NFilterGetCB::" << __func__ << "(): put() to cache backend failed, ret=" << ret << dendl;
}
} else {
- ldpp_dout(dpp, 0) << "D4N Filter: " << __func__ << " An error occured during eviction, ret=" << ret << dendl;
+ ldpp_dout(dpp, 0) << "D4N Filter: " << __func__ << " An error occurred during eviction, ret=" << ret << dendl;
}
}
driver->get_policy_driver()->get_cache_policy()->update(dpp, oid_in_cache, ofs, bl.length(), version, dirty, rgw::d4n::RefCount::NOOP, y);
}
} else {
- ldpp_dout(dpp, 0) << "D4NFilterWriter::" << __func__ << "(): ERROR: writting data to the cache failed, ret=" << ret << dendl;
+ ldpp_dout(dpp, 0) << "D4NFilterWriter::" << __func__ << "(): ERROR: writing data to the cache failed, ret=" << ret << dendl;
return ret;
}
}
}
}
- ldpp_dout(tier_ctx.dpp, 20) << __func__ << "(): Sucessfully fetched object from cloud bucket:" << dest_bucket << ", object: " << target_obj_name << dendl;
+ ldpp_dout(tier_ctx.dpp, 20) << __func__ << "(): Successfully fetched object from cloud bucket:" << dest_bucket << ", object: " << target_obj_name << dendl;
return ret;
}
return ret;
}
- ldpp_dout(dpp, 20) << "Sucessfully restored object(" << get_key() << ") from the cloud endpoint(" << endpoint << ")" << dendl;
+ ldpp_dout(dpp, 20) << "Successfully restored object(" << get_key() << ") from the cloud endpoint(" << endpoint << ")" << dendl;
return ret;
}
std::vector<uint32_t> modes;
reg.get_supported_methods(CEPH_ENTITY_TYPE_MON, &methods, &modes);
- ldpp_dout(dpp, 20) << __func__ << "(): auth registy supported: methods=" << methods << " modes=" << modes << dendl;
+ ldpp_dout(dpp, 20) << __func__ << "(): auth registry supported: methods=" << methods << " modes=" << modes << dendl;
for (auto method : methods) {
if (!reg.is_secure_method(method)) {
return 0;
} catch (const int err) {
- ldpp_dout(dpp, 5) << "applier throwed err=" << err << dendl;
+ ldpp_dout(dpp, 5) << "applier threw err=" << err << dendl;
return err;
} catch (const std::exception& e) {
- ldpp_dout(dpp, 5) << "applier throwed unexpected err: " << e.what()
+ ldpp_dout(dpp, 5) << "applier threw unexpected err: " << e.what()
<< dendl;
return -EPERM;
}
} catch (const int err) {
- ldpp_dout(dpp, 5) << "auth engine throwed err=" << err << dendl;
+ ldpp_dout(dpp, 5) << "auth engine threw err=" << err << dendl;
return err;
} catch (const std::exception& e) {
- ldpp_dout(dpp, 5) << "auth engine throwed unexpected err: " << e.what()
+ ldpp_dout(dpp, 5) << "auth engine threw unexpected err: " << e.what()
<< dendl;
}
ldpp_dout(dpp, 0) << "NOTICE: couldn't map swift user " << acct_user << dendl;
create_account(dpp, acct_user, implicit_tenant, user->get_info());
- /* Succeeded if we are here (create_account() hasn't throwed). */
+ /* Succeeded if we are here (create_account() hasn't thrown). */
return user;
}
std::string target_tenant_name;
int ret = rgw_parse_url_bucket(conf.target_bucket, tenant_name, target_tenant_name, target_bucket_name);
if (ret < 0) {
- ldpp_dout(dpp, 1) << "ERROR: failed to parse target bucket '" << conf.target_bucket << "' when commiting logging object, ret = "
+ ldpp_dout(dpp, 1) << "ERROR: failed to parse target bucket '" << conf.target_bucket << "' when committing logging object, ret = "
<< ret << dendl;
return ret;
}
ret = driver->load_bucket(dpp, target_bucket_id,
&target_bucket, y);
if (ret < 0) {
- ldpp_dout(dpp, 1) << "ERROR: failed to get target logging bucket '" << target_bucket_id << "' when commiting logging object, ret = "
+ ldpp_dout(dpp, 1) << "ERROR: failed to get target logging bucket '" << target_bucket_id << "' when committing logging object, ret = "
<< ret << dendl;
return ret;
}
return ret;
}
} else {
- ldpp_dout(dpp, 20) << "INFO: record will be written to current logging object '" << obj_name << "'. will be comitted at: " << time_to_commit << dendl;
+ ldpp_dout(dpp, 20) << "INFO: record will be written to current logging object '" << obj_name << "'. will be committed at: " << time_to_commit << dendl;
}
} else if (ret == -ENOENT) {
// try to create the temporary log object for the first time
// the hash table size is rounded to the nearest 4KB and will wrap after 16G
if (unlikely(src_rec.s.obj_bytes_size != p_tgt_rec->s.obj_bytes_size)) {
p_stats->size_mismatch++;
- ldpp_dout(dpp, 10) << __func__ << "::WARN: differnt byte size for objects::"
+ ldpp_dout(dpp, 10) << __func__ << "::WARN: different byte size for objects::"
<< src_rec.obj_name << "::" << src_rec.s.obj_bytes_size
<< "::" << p_tgt_rec->obj_name << "::"
<< p_tgt_rec->s.obj_bytes_size << dendl;
if (!lguard) {
return;
}
- ldpp_dout(dpp, 10) << "Lua state restarted seccessfully." << dendl;
+ ldpp_dout(dpp, 10) << "Lua state restarted successfully." << dendl;
}
lguard->set_max_runtime(max_runtime);
lguard->reset_start_time();
ret = upload->cleanup_orphaned_parts(this, s->cct, y, meta_obj->get_obj(), remove_objs, processed_prefixes);
if (ret < 0) {
- ldpp_dout(this, 0) << "ERROR: failed to clenup orphaned parts. ret=" << ret << dendl;
+ ldpp_dout(this, 0) << "ERROR: failed to cleanup orphaned parts. ret=" << ret << dendl;
}
}
int RGWRESTStreamRWRequest::send(RGWHTTPManager *mgr)
{
if (!headers_gen) {
- ldpp_dout(this, 0) << "ERROR: " << __func__ << "(): send_prepare() was not called: likey a bug!" << dendl;
+ ldpp_dout(this, 0) << "ERROR: " << __func__ << "(): send_prepare() was not called: likely a bug!" << dendl;
return -EINVAL;
}
}
ldout(s->cct, 10) << "S3select:append_in_callback = " << append_in_callback << dendl;
if (requested_buffer.size() < m_request_range) {
- ldout(s->cct, 10) << "S3select: need another round buffe-size: " << requested_buffer.size() << " request range length:" << m_request_range << dendl;
+ ldout(s->cct, 10) << "S3select: need another round buffer-size: " << requested_buffer.size() << " request range length:" << m_request_range << dendl;
return 0;
} else {//buffer is complete
ldout(s->cct, 10) << "S3select: buffer is complete " << requested_buffer.size() << " request range length:" << m_request_range << dendl;
}
}//end - try
catch(...) {
- ldpp_dout(dpp, 20) << "SSDCache: " << __func__ << "(): Execption while parsing entry: " << file_entry.path() << dendl;
+ ldpp_dout(dpp, 20) << "SSDCache: " << __func__ << "(): Exception while parsing entry: " << file_entry.path() << dendl;
continue;
}
}