mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +03:00
Fix various spelling errors
e.g. - succesfully -> successfully - preceeding -> preceding
This commit is contained in:
@ -26,4 +26,5 @@ Authors from Codership Oy:
|
|||||||
|
|
||||||
Other contributors:
|
Other contributors:
|
||||||
|
|
||||||
|
* Otto Kekäläinen <otto@kekalainen.net>
|
||||||
[add name and email/username above this line, but leave this line intact]
|
[add name and email/username above this line, but leave this line intact]
|
||||||
|
@ -231,7 +231,7 @@ namespace wsrep
|
|||||||
* @param gtid A GTID denoting the current replication position
|
* @param gtid A GTID denoting the current replication position
|
||||||
* @param bypass Boolean bypass flag.
|
* @param bypass Boolean bypass flag.
|
||||||
*
|
*
|
||||||
* @return Zero if the SST transfer was succesfully started,
|
* @return Zero if the SST transfer was successfully started,
|
||||||
* non-zero otherwise.
|
* non-zero otherwise.
|
||||||
*/
|
*/
|
||||||
virtual int start_sst(const std::string& sst_request,
|
virtual int start_sst(const std::string& sst_request,
|
||||||
|
@ -163,7 +163,7 @@ namespace wsrep
|
|||||||
s_connected,
|
s_connected,
|
||||||
/** Server is receiving SST */
|
/** Server is receiving SST */
|
||||||
s_joiner,
|
s_joiner,
|
||||||
/** Server has received SST succesfully but has not synced
|
/** Server has received SST successfully but has not synced
|
||||||
with rest of the cluster yet. */
|
with rest of the cluster yet. */
|
||||||
s_joined,
|
s_joined,
|
||||||
/** Server is donating state snapshot transfer */
|
/** Server is donating state snapshot transfer */
|
||||||
|
@ -93,7 +93,7 @@ namespace wsrep
|
|||||||
{ return (ws_meta_.seqno().is_undefined() == false); }
|
{ return (ws_meta_.seqno().is_undefined() == false); }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return true if any fragments have been succesfully certified
|
* Return true if any fragments have been successfully certified
|
||||||
* for the transaction.
|
* for the transaction.
|
||||||
*/
|
*/
|
||||||
bool is_streaming() const
|
bool is_streaming() const
|
||||||
@ -104,7 +104,7 @@ namespace wsrep
|
|||||||
/**
|
/**
|
||||||
* Return number of fragments certified for current statement.
|
* Return number of fragments certified for current statement.
|
||||||
*
|
*
|
||||||
* This counts fragments which have been succesfully certified
|
* This counts fragments which have been successfully certified
|
||||||
* since the construction of object or last after_statement()
|
* since the construction of object or last after_statement()
|
||||||
* call.
|
* call.
|
||||||
*
|
*
|
||||||
|
@ -600,7 +600,7 @@ wsrep::seqno wsrep::server_state::desync_and_pause()
|
|||||||
// Desync may give transient error if the provider cannot
|
// Desync may give transient error if the provider cannot
|
||||||
// communicate with the rest of the cluster. However, this
|
// communicate with the rest of the cluster. However, this
|
||||||
// error can be tolerated because if the provider can be
|
// error can be tolerated because if the provider can be
|
||||||
// paused succesfully below.
|
// paused successfully below.
|
||||||
WSREP_LOG_DEBUG(wsrep::log::debug_log_level(),
|
WSREP_LOG_DEBUG(wsrep::log::debug_log_level(),
|
||||||
wsrep::log::debug_level_server_state,
|
wsrep::log::debug_level_server_state,
|
||||||
"Failed to desync server before pause");
|
"Failed to desync server before pause");
|
||||||
@ -753,7 +753,7 @@ void wsrep::server_state::sst_received(wsrep::client_service& cs,
|
|||||||
* logged view. */
|
* logged view. */
|
||||||
std::ostringstream msg;
|
std::ostringstream msg;
|
||||||
msg << "SST script passed bogus GTID: " << gtid
|
msg << "SST script passed bogus GTID: " << gtid
|
||||||
<< ". Preceeding view GTID: " << v.state_id();
|
<< ". Preceding view GTID: " << v.state_id();
|
||||||
throw wsrep::runtime_error(msg.str());
|
throw wsrep::runtime_error(msg.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -962,7 +962,7 @@ bool wsrep::transaction::bf_abort(
|
|||||||
WSREP_LOG_DEBUG(client_state_.debug_log_level(),
|
WSREP_LOG_DEBUG(client_state_.debug_log_level(),
|
||||||
wsrep::log::debug_level_transaction,
|
wsrep::log::debug_level_transaction,
|
||||||
"Seqno " << bf_seqno
|
"Seqno " << bf_seqno
|
||||||
<< " succesfully BF aborted " << id_
|
<< " successfully BF aborted " << id_
|
||||||
<< " victim_seqno " << victim_seqno);
|
<< " victim_seqno " << victim_seqno);
|
||||||
bf_abort_state_ = state_at_enter;
|
bf_abort_state_ = state_at_enter;
|
||||||
state(lock, s_must_abort);
|
state(lock, s_must_abort);
|
||||||
@ -1733,8 +1733,8 @@ int wsrep::transaction::certify_commit(
|
|||||||
client_state_.override_error(wsrep::e_error_during_commit, cert_ret);
|
client_state_.override_error(wsrep::e_error_during_commit, cert_ret);
|
||||||
break;
|
break;
|
||||||
case wsrep::provider::error_bf_abort:
|
case wsrep::provider::error_bf_abort:
|
||||||
// Transaction was replicated succesfully and it was either
|
// Transaction was replicated successfully and it was either
|
||||||
// certified succesfully or the result of certifying is not
|
// certified successfully or the result of certifying is not
|
||||||
// yet known. Therefore the transaction must roll back
|
// yet known. Therefore the transaction must roll back
|
||||||
// and go through replay either to replay and commit the whole
|
// and go through replay either to replay and commit the whole
|
||||||
// transaction or to determine failed certification status.
|
// transaction or to determine failed certification status.
|
||||||
|
@ -452,7 +452,7 @@ BOOST_FIXTURE_TEST_CASE(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Error or shutdown happens during catchup phase after receiving
|
// Error or shutdown happens during catchup phase after receiving
|
||||||
// SST succesfully.
|
// SST successfully.
|
||||||
BOOST_FIXTURE_TEST_CASE(
|
BOOST_FIXTURE_TEST_CASE(
|
||||||
server_state_sst_first_error_on_joined,
|
server_state_sst_first_error_on_joined,
|
||||||
sst_first_server_fixture)
|
sst_first_server_fixture)
|
||||||
|
@ -71,7 +71,7 @@ BOOST_FIXTURE_TEST_CASE_TEMPLATE(transaction_1pc, T,
|
|||||||
// Establish default read view
|
// Establish default read view
|
||||||
BOOST_REQUIRE(0 == cc.assign_read_view(NULL));
|
BOOST_REQUIRE(0 == cc.assign_read_view(NULL));
|
||||||
|
|
||||||
// Verify that the commit can be succesfully executed in separate command
|
// Verify that the commit can be successfully executed in separate command
|
||||||
BOOST_REQUIRE(cc.after_statement() == 0);
|
BOOST_REQUIRE(cc.after_statement() == 0);
|
||||||
cc.after_command_before_result();
|
cc.after_command_before_result();
|
||||||
cc.after_command_after_result();
|
cc.after_command_after_result();
|
||||||
|
Reference in New Issue
Block a user