Skip to content

Commit eb7d6b8

Browse files
author
Daniele Sciascia
committed
Typo fixes
1 parent 4972ce0 commit eb7d6b8

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

wsrep_api.h

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ typedef enum wsrep_cb_status (*wsrep_view_cb_t) (
400400
/*!
401401
* @brief Creates and returns State Snapshot Transfer request for provider.
402402
*
403-
* This handler is called whenvever the node is found to miss some of events
403+
* This handler is called whenever the node is found to miss some of events
404404
* from the cluster history (e.g. fresh node joining the cluster).
405405
* SST will be used if it is impossible (or impractically long) to replay
406406
* missing events, which may be not known in advance, so the node must always
@@ -410,7 +410,7 @@ typedef enum wsrep_cb_status (*wsrep_view_cb_t) (
410410
* chosen SST donor node and must contain information sufficient for
411411
* donor to deliver SST (typically SST method and delivery address).
412412
* See above macros WSREP_STATE_TRANSFER_TRIVIAL and WSREP_STATE_TRANSFER_NONE
413-
* to modify the standard provider benavior.
413+
* to modify the standard provider behavior.
414414
*
415415
* @note Currently it is assumed that sst_req is allocated using
416416
* malloc()/calloc()/realloc() and it will be freed by
@@ -577,7 +577,7 @@ typedef struct wsrep_key
577577

578578
/*! Key type:
579579
* EXCLUSIVE conflicts with any key type
580-
* SEMI reserved. If not supported, should be interpeted as EXCLUSIVE
580+
* SEMI reserved. If not supported, should be interpreted as EXCLUSIVE
581581
* SHARED conflicts only with EXCLUSIVE keys */
582582
typedef enum wsrep_key_type
583583
{
@@ -664,7 +664,7 @@ struct wsrep_st {
664664
* @param conf configuration string
665665
*
666666
* @retval WSREP_OK configuration string was parsed successfully
667-
* @retval WSREP_WARNING could't not parse conf string, no action taken
667+
* @retval WSREP_WARNING could not parse configuration string, no action taken
668668
*/
669669
wsrep_status_t (*options_set) (wsrep_t* wsrep, const char* conf);
670670

@@ -681,7 +681,7 @@ struct wsrep_st {
681681
/*!
682682
* @brief Opens connection to cluster
683683
*
684-
* Returns when either node is ready to operate as a part of the clsuter
684+
* Returns when either node is ready to operate as a part of the cluster
685685
* or fails to reach operating status.
686686
*
687687
* @param wsrep provider handle
@@ -690,7 +690,7 @@ struct wsrep_st {
690690
* @param state_donor name of the node to be asked for state transfer.
691691
* @param bootstrap a flag to request initialization of a new wsrep
692692
* service rather then a connection to the existing one.
693-
* clister_url may still carry important initialization
693+
* cluster_url may still carry important initialization
694694
* parameters, like backend spec and/or listen address.
695695
*/
696696
wsrep_status_t (*connect) (wsrep_t* wsrep,
@@ -724,7 +724,7 @@ struct wsrep_st {
724724
* with it.
725725
*
726726
* @param wsrep provider handle
727-
* @param handle writset handle
727+
* @param handle writeset handle
728728
* @param rv read view GTID established by the caller or if NULL,
729729
* provider will infer it internally.
730730
*/
@@ -777,7 +777,7 @@ struct wsrep_st {
777777
* @param ws_handle internal provider writeset handle
778778
* @param meta transaction meta data
779779
*
780-
* @retval WSREP_OK commit order entered succesfully
780+
* @retval WSREP_OK commit order entered successfully
781781
* @retval WSREP_NODE_FAIL must close all connections and reinit
782782
*/
783783
wsrep_status_t (*commit_order_enter)(wsrep_t* wsrep,
@@ -795,7 +795,7 @@ struct wsrep_st {
795795
* @param meta transaction meta data
796796
* @param error buffer containing error info (null/empty for no error)
797797
*
798-
* @retval WSREP_OK commit order left succesfully
798+
* @retval WSREP_OK commit order left successfully
799799
* @retval WSREP_NODE_FAIL must close all connections and reinit
800800
*/
801801
wsrep_status_t (*commit_order_leave)(wsrep_t* wsrep,
@@ -844,7 +844,7 @@ struct wsrep_st {
844844
* It is possible, that some high-priority transaction needs to abort
845845
* another transaction which is in certify() call waiting for resources.
846846
*
847-
* The kill routine checks that abort is not attmpted against a transaction
847+
* The kill routine checks that abort is not attempted against a transaction
848848
* which is front of the caller (in total order).
849849
*
850850
* If the abort was successful, the victim sequence number is stored
@@ -855,7 +855,7 @@ struct wsrep_st {
855855
* @param victim_trx transaction to be aborted, and which is committing
856856
* @param victim_seqno seqno of the victim transaction if assigned
857857
*
858-
* @retval WSREP_OK abort succeded
858+
* @retval WSREP_OK abort succeeded
859859
* @retval WSREP_NOT_ALLOWED the provider declined the abort request
860860
* @retval WSREP_TRX_MISSING the victim_trx was missing
861861
* @retval WSREP_WARNING abort failed
@@ -888,7 +888,7 @@ struct wsrep_st {
888888
* @param ws_handle writeset handle
889889
* @param keys array of keys
890890
* @param count length of the array of keys
891-
* @param type type ot the key
891+
* @param type type of the key
892892
* @param copy can be set to FALSE if keys persist through commit.
893893
*/
894894
wsrep_status_t (*append_key)(wsrep_t* wsrep,
@@ -985,7 +985,7 @@ struct wsrep_st {
985985
*
986986
* In this mode a query execution is split in two phases. The first phase is
987987
* acquiring total order isolation to access critical section and the
988-
* second phase is to release aquired resources in total order.
988+
* second phase is to release acquired resources in total order.
989989
*
990990
* To start the first phase the call is made with WSREP_FLAG_TRX_START set.
991991
* The action is replicated and success code is returned. The total order
@@ -1001,7 +1001,7 @@ struct wsrep_st {
10011001
* @param wsrep provider handle
10021002
* @param conn_id connection ID
10031003
* @param keys array of keys
1004-
* @param keys_num lenght of the array of keys
1004+
* @param keys_num length of the array of keys
10051005
* @param action action buffer array to be executed
10061006
* @param count action buffer count
10071007
* @param flags flags
@@ -1118,7 +1118,7 @@ struct wsrep_st {
11181118
/*!
11191119
* @brief Generate request for consistent snapshot.
11201120
*
1121-
* If successfull, this call will generate internally SST request
1121+
* If successful, this call will generate internally SST request
11221122
* which in turn triggers calling SST donate callback on the nodes
11231123
* specified in donor_spec. If donor_spec is null, callback is
11241124
* called only locally. This call will block until sst_sent is called
@@ -1181,7 +1181,7 @@ struct wsrep_st {
11811181
* @brief Request to resynchronize with cluster.
11821182
*
11831183
* Effectively turns on flow control. Asynchronous - actual synchronization
1184-
* event to be deliverred via sync_cb.
1184+
* event to be delivered via sync_cb.
11851185
*/
11861186
wsrep_status_t (*resync) (wsrep_t* wsrep);
11871187

@@ -1247,15 +1247,15 @@ struct wsrep_st {
12471247
void (*free)(wsrep_t* wsrep);
12481248

12491249
void *dlh; //!< reserved for future use
1250-
void *ctx; //!< reserved for implemetation private context
1250+
void *ctx; //!< reserved for implementation private context
12511251
};
12521252

12531253

12541254
/*!
12551255
*
12561256
* @brief Loads wsrep library
12571257
*
1258-
* @param spec path to wsrep library. If NULL or WSREP_NONE initialises dummy
1258+
* @param spec path to wsrep library. If NULL or WSREP_NONE initializes dummy
12591259
* pass-through implementation.
12601260
* @param hptr wsrep handle
12611261
* @param log_cb callback to handle loader messages. Otherwise writes to stderr.

0 commit comments

Comments
 (0)