Skip to content

Commit aca0011

Browse files
tchaikovnyh
authored andcommitted
service: fix misspellings
these misspellings were flagged by codespell. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com> Closes scylladb#23334
1 parent 2ca1c0b commit aca0011

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

service/qos/service_level_controller.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ future<> service_level_controller::update_service_levels_cache(qos::query_contex
200200
return async([this, ctx] () {
201201
service_levels_info service_levels;
202202
// The next statement can throw, but that's fine since we would like the caller
203-
// to be able to agreggate those failures and only report when it is critical or noteworthy.
203+
// to be able to aggregate those failures and only report when it is critical or noteworthy.
204204
// one common reason for failure is because one of the nodes comes down and before this node
205205
// detects it the scan query done inside this call is failing.
206206
service_levels = _sl_data_accessor->get_service_levels(ctx).get();

service/storage_proxy.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6565,9 +6565,9 @@ future<bool> storage_proxy::cas(schema_ptr schema, shared_ptr<cas_request> reque
65656565
tracing::trace(handler->tr_state, "CAS successful");
65666566
break;
65676567
} else {
6568-
paxos::paxos_state::logger.debug("CAS[{}] PAXOS proposal not accepted (pre-empted by a higher ballot)",
6568+
paxos::paxos_state::logger.debug("CAS[{}] PAXOS proposal not accepted (preempted by a higher ballot)",
65696569
handler->id());
6570-
tracing::trace(handler->tr_state, "PAXOS proposal not accepted (pre-empted by a higher ballot)");
6570+
tracing::trace(handler->tr_state, "PAXOS proposal not accepted (preempted by a higher ballot)");
65716571
++contentions;
65726572
co_await sleep_approx_50ms();
65736573
}

service/storage_service.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2327,7 +2327,7 @@ future<> storage_service::handle_state_normal(inet_address endpoint, locator::ho
23272327
std::optional<inet_address> existing;
23282328

23292329
if (tmptr->get_topology().find_node(host_id)) {
2330-
// If node is not in the topology there is no existsing address
2330+
// If node is not in the topology there is no existing address
23312331
// If there are two addresses for the same id the "other" one is existing
23322332
// If there is only one it is existing
23332333
if (ips.size() == 2) {

0 commit comments

Comments
 (0)