Skip to content

Commit f1359e1

Browse files
committed
rgw: fix typos in log messages
Fixes typos in log messages. Signed-off-by: N Balachandran <[email protected]>
1 parent 7c523c4 commit f1359e1

File tree

12 files changed

+19
-19
lines changed

12 files changed

+19
-19
lines changed

src/rgw/driver/d4n/rgw_sal_d4n.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2457,7 +2457,7 @@ int D4NFilterObject::D4NFilterReadOp::D4NFilterGetCB::handle_data(bufferlist& bl
24572457
ldpp_dout(dpp, 0) << "D4NFilterObject::D4NFilterReadOp::D4NFilterGetCB::" << __func__ << "(): put() to cache backend failed, ret=" << ret << dendl;
24582458
}
24592459
} else {
2460-
ldpp_dout(dpp, 0) << "D4N Filter: " << __func__ << " An error occured during eviction, ret=" << ret << dendl;
2460+
ldpp_dout(dpp, 0) << "D4N Filter: " << __func__ << " An error occurred during eviction, ret=" << ret << dendl;
24612461
}
24622462
}
24632463

@@ -2861,7 +2861,7 @@ int D4NFilterWriter::process(bufferlist&& data, uint64_t offset)
28612861
driver->get_policy_driver()->get_cache_policy()->update(dpp, oid_in_cache, ofs, bl.length(), version, dirty, rgw::d4n::RefCount::NOOP, y);
28622862
}
28632863
} else {
2864-
ldpp_dout(dpp, 0) << "D4NFilterWriter::" << __func__ << "(): ERROR: writting data to the cache failed, ret=" << ret << dendl;
2864+
ldpp_dout(dpp, 0) << "D4NFilterWriter::" << __func__ << "(): ERROR: writing data to the cache failed, ret=" << ret << dendl;
28652865
return ret;
28662866
}
28672867
}

src/rgw/driver/rados/rgw_lc_tier.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ int rgw_cloud_tier_get_object(RGWLCCloudTierCtx& tier_ctx, bool head,
405405
}
406406
}
407407

408-
ldpp_dout(tier_ctx.dpp, 20) << __func__ << "(): Sucessfully fetched object from cloud bucket:" << dest_bucket << ", object: " << target_obj_name << dendl;
408+
ldpp_dout(tier_ctx.dpp, 20) << __func__ << "(): Successfully fetched object from cloud bucket:" << dest_bucket << ", object: " << target_obj_name << dendl;
409409
return ret;
410410
}
411411

src/rgw/driver/rados/rgw_sal_rados.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3138,7 +3138,7 @@ int RadosObject::restore_obj_from_cloud(Bucket* bucket,
31383138
return ret;
31393139
}
31403140

3141-
ldpp_dout(dpp, 20) << "Sucessfully restored object(" << get_key() << ") from the cloud endpoint(" << endpoint << ")" << dendl;
3141+
ldpp_dout(dpp, 20) << "Successfully restored object(" << get_key() << ") from the cloud endpoint(" << endpoint << ")" << dendl;
31423142

31433143
return ret;
31443144
}

src/rgw/driver/rados/rgw_tools.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ bool rgw_check_secure_mon_conn(const DoutPrefixProvider *dpp)
327327
std::vector<uint32_t> modes;
328328

329329
reg.get_supported_methods(CEPH_ENTITY_TYPE_MON, &methods, &modes);
330-
ldpp_dout(dpp, 20) << __func__ << "(): auth registy supported: methods=" << methods << " modes=" << modes << dendl;
330+
ldpp_dout(dpp, 20) << __func__ << "(): auth registry supported: methods=" << methods << " modes=" << modes << dendl;
331331

332332
for (auto method : methods) {
333333
if (!reg.is_secure_method(method)) {

src/rgw/rgw_auth.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -550,18 +550,18 @@ rgw::auth::Strategy::apply(const DoutPrefixProvider *dpp, const rgw::auth::Strat
550550

551551
return 0;
552552
} catch (const int err) {
553-
ldpp_dout(dpp, 5) << "applier throwed err=" << err << dendl;
553+
ldpp_dout(dpp, 5) << "applier threw err=" << err << dendl;
554554
return err;
555555
} catch (const std::exception& e) {
556-
ldpp_dout(dpp, 5) << "applier throwed unexpected err: " << e.what()
556+
ldpp_dout(dpp, 5) << "applier threw unexpected err: " << e.what()
557557
<< dendl;
558558
return -EPERM;
559559
}
560560
} catch (const int err) {
561-
ldpp_dout(dpp, 5) << "auth engine throwed err=" << err << dendl;
561+
ldpp_dout(dpp, 5) << "auth engine threw err=" << err << dendl;
562562
return err;
563563
} catch (const std::exception& e) {
564-
ldpp_dout(dpp, 5) << "auth engine throwed unexpected err: " << e.what()
564+
ldpp_dout(dpp, 5) << "auth engine threw unexpected err: " << e.what()
565565
<< dendl;
566566
}
567567

@@ -1022,7 +1022,7 @@ auto rgw::auth::RemoteApplier::load_acct_info(const DoutPrefixProvider* dpp) con
10221022
ldpp_dout(dpp, 0) << "NOTICE: couldn't map swift user " << acct_user << dendl;
10231023
create_account(dpp, acct_user, implicit_tenant, user->get_info());
10241024

1025-
/* Succeeded if we are here (create_account() hasn't throwed). */
1025+
/* Succeeded if we are here (create_account() hasn't thrown). */
10261026
return user;
10271027
}
10281028

src/rgw/rgw_bucket_logging.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ int commit_logging_object(const configuration& conf,
315315
std::string target_tenant_name;
316316
int ret = rgw_parse_url_bucket(conf.target_bucket, tenant_name, target_tenant_name, target_bucket_name);
317317
if (ret < 0) {
318-
ldpp_dout(dpp, 1) << "ERROR: failed to parse target bucket '" << conf.target_bucket << "' when commiting logging object, ret = "
318+
ldpp_dout(dpp, 1) << "ERROR: failed to parse target bucket '" << conf.target_bucket << "' when committing logging object, ret = "
319319
<< ret << dendl;
320320
return ret;
321321
}
@@ -324,7 +324,7 @@ int commit_logging_object(const configuration& conf,
324324
ret = driver->load_bucket(dpp, target_bucket_id,
325325
&target_bucket, y);
326326
if (ret < 0) {
327-
ldpp_dout(dpp, 1) << "ERROR: failed to get target logging bucket '" << target_bucket_id << "' when commiting logging object, ret = "
327+
ldpp_dout(dpp, 1) << "ERROR: failed to get target logging bucket '" << target_bucket_id << "' when committing logging object, ret = "
328328
<< ret << dendl;
329329
return ret;
330330
}
@@ -491,7 +491,7 @@ int log_record(rgw::sal::Driver* driver,
491491
return ret;
492492
}
493493
} else {
494-
ldpp_dout(dpp, 20) << "INFO: record will be written to current logging object '" << obj_name << "'. will be comitted at: " << time_to_commit << dendl;
494+
ldpp_dout(dpp, 20) << "INFO: record will be written to current logging object '" << obj_name << "'. will be committed at: " << time_to_commit << dendl;
495495
}
496496
} else if (ret == -ENOENT) {
497497
// try to create the temporary log object for the first time

src/rgw/rgw_dedup.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ namespace rgw::dedup {
12971297
// the hash table size is rounded to the nearest 4KB and will wrap after 16G
12981298
if (unlikely(src_rec.s.obj_bytes_size != p_tgt_rec->s.obj_bytes_size)) {
12991299
p_stats->size_mismatch++;
1300-
ldpp_dout(dpp, 10) << __func__ << "::WARN: differnt byte size for objects::"
1300+
ldpp_dout(dpp, 10) << __func__ << "::WARN: different byte size for objects::"
13011301
<< src_rec.obj_name << "::" << src_rec.s.obj_bytes_size
13021302
<< "::" << p_tgt_rec->obj_name << "::"
13031303
<< p_tgt_rec->s.obj_bytes_size << dendl;

src/rgw/rgw_lua_background.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ void Background::run() {
174174
if (!lguard) {
175175
return;
176176
}
177-
ldpp_dout(dpp, 10) << "Lua state restarted seccessfully." << dendl;
177+
ldpp_dout(dpp, 10) << "Lua state restarted successfully." << dendl;
178178
}
179179
lguard->set_max_runtime(max_runtime);
180180
lguard->reset_start_time();

src/rgw/rgw_op.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7229,7 +7229,7 @@ void RGWCompleteMultipart::execute(optional_yield y)
72297229

72307230
ret = upload->cleanup_orphaned_parts(this, s->cct, y, meta_obj->get_obj(), remove_objs, processed_prefixes);
72317231
if (ret < 0) {
7232-
ldpp_dout(this, 0) << "ERROR: failed to clenup orphaned parts. ret=" << ret << dendl;
7232+
ldpp_dout(this, 0) << "ERROR: failed to cleanup orphaned parts. ret=" << ret << dendl;
72337233
}
72347234
}
72357235

src/rgw/rgw_rest_client.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ int RGWRESTStreamRWRequest::send_request(const DoutPrefixProvider *dpp, RGWAcces
902902
int RGWRESTStreamRWRequest::send(RGWHTTPManager *mgr)
903903
{
904904
if (!headers_gen) {
905-
ldpp_dout(this, 0) << "ERROR: " << __func__ << "(): send_prepare() was not called: likey a bug!" << dendl;
905+
ldpp_dout(this, 0) << "ERROR: " << __func__ << "(): send_prepare() was not called: likely a bug!" << dendl;
906906
return -EINVAL;
907907
}
908908

0 commit comments

Comments
 (0)