Skip to content

Commit a12b814

Browse files
committed
Fix various spelling errors
e.g. - succesfully -> successfully - preceeding -> preceding
1 parent ebbf947 commit a12b814

File tree

8 files changed

+12
-11
lines changed

8 files changed

+12
-11
lines changed

CONTRIBUTORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ Authors from Codership Oy:
2626

2727
Other contributors:
2828

29+
* Otto Kekäläinen <[email protected]>
2930
[add name and email/username above this line, but leave this line intact]

include/wsrep/server_service.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ namespace wsrep
231231
* @param gtid A GTID denoting the current replication position
232232
* @param bypass Boolean bypass flag.
233233
*
234-
* @return Zero if the SST transfer was succesfully started,
234+
* @return Zero if the SST transfer was successfully started,
235235
* non-zero otherwise.
236236
*/
237237
virtual int start_sst(const std::string& sst_request,

include/wsrep/server_state.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ namespace wsrep
163163
s_connected,
164164
/** Server is receiving SST */
165165
s_joiner,
166-
/** Server has received SST succesfully but has not synced
166+
/** Server has received SST successfully but has not synced
167167
with rest of the cluster yet. */
168168
s_joined,
169169
/** Server is donating state snapshot transfer */

include/wsrep/transaction.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ namespace wsrep
9393
{ return (ws_meta_.seqno().is_undefined() == false); }
9494

9595
/**
96-
* Return true if any fragments have been succesfully certified
96+
* Return true if any fragments have been successfully certified
9797
* for the transaction.
9898
*/
9999
bool is_streaming() const
@@ -104,7 +104,7 @@ namespace wsrep
104104
/**
105105
* Return number of fragments certified for current statement.
106106
*
107-
* This counts fragments which have been succesfully certified
107+
* This counts fragments which have been successfully certified
108108
* since the construction of object or last after_statement()
109109
* call.
110110
*

src/server_state.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ wsrep::seqno wsrep::server_state::desync_and_pause()
600600
// Desync may give transient error if the provider cannot
601601
// communicate with the rest of the cluster. However, this
602602
// error can be tolerated because if the provider can be
603-
// paused succesfully below.
603+
// paused successfully below.
604604
WSREP_LOG_DEBUG(wsrep::log::debug_log_level(),
605605
wsrep::log::debug_level_server_state,
606606
"Failed to desync server before pause");
@@ -753,7 +753,7 @@ void wsrep::server_state::sst_received(wsrep::client_service& cs,
753753
* logged view. */
754754
std::ostringstream msg;
755755
msg << "SST script passed bogus GTID: " << gtid
756-
<< ". Preceeding view GTID: " << v.state_id();
756+
<< ". Preceding view GTID: " << v.state_id();
757757
throw wsrep::runtime_error(msg.str());
758758
}
759759

src/transaction.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ bool wsrep::transaction::bf_abort(
962962
WSREP_LOG_DEBUG(client_state_.debug_log_level(),
963963
wsrep::log::debug_level_transaction,
964964
"Seqno " << bf_seqno
965-
<< " succesfully BF aborted " << id_
965+
<< " successfully BF aborted " << id_
966966
<< " victim_seqno " << victim_seqno);
967967
bf_abort_state_ = state_at_enter;
968968
state(lock, s_must_abort);
@@ -1733,8 +1733,8 @@ int wsrep::transaction::certify_commit(
17331733
client_state_.override_error(wsrep::e_error_during_commit, cert_ret);
17341734
break;
17351735
case wsrep::provider::error_bf_abort:
1736-
// Transaction was replicated succesfully and it was either
1737-
// certified succesfully or the result of certifying is not
1736+
// Transaction was replicated successfully and it was either
1737+
// certified successfully or the result of certifying is not
17381738
// yet known. Therefore the transaction must roll back
17391739
// and go through replay either to replay and commit the whole
17401740
// transaction or to determine failed certification status.

test/server_context_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ BOOST_FIXTURE_TEST_CASE(
452452
}
453453

454454
// Error or shutdown happens during catchup phase after receiving
455-
// SST succesfully.
455+
// SST successfully.
456456
BOOST_FIXTURE_TEST_CASE(
457457
server_state_sst_first_error_on_joined,
458458
sst_first_server_fixture)

test/transaction_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ BOOST_FIXTURE_TEST_CASE_TEMPLATE(transaction_1pc, T,
7171
// Establish default read view
7272
BOOST_REQUIRE(0 == cc.assign_read_view(NULL));
7373

74-
// Verify that the commit can be succesfully executed in separate command
74+
// Verify that the commit can be successfully executed in separate command
7575
BOOST_REQUIRE(cc.after_statement() == 0);
7676
cc.after_command_before_result();
7777
cc.after_command_after_result();

0 commit comments

Comments
 (0)