Skip to content

Commit e2f49f9

Browse files
committed
Refs lp:1216738 - added rcode parameter to wsrep::sst_sent() - for consistency.
1 parent 2acc7cb commit e2f49f9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

wsrep_api.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -855,9 +855,11 @@ struct wsrep_ {
855855
*
856856
* @param wsrep provider handle
857857
* @param state_id state ID
858+
* @param rcode 0 or negative error code of the operation.
858859
*/
859860
wsrep_status_t (*sst_sent)(wsrep_t* wsrep,
860-
const wsrep_gtid_t* state_id);
861+
const wsrep_gtid_t* state_id,
862+
int rcode);
861863

862864
/*!
863865
* @brief Signals to wsrep provider that new state snapshot has been received.

wsrep_dummy.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ static wsrep_status_t dummy_preordered(
220220

221221
static wsrep_status_t dummy_sst_sent(
222222
wsrep_t* w,
223-
const wsrep_gtid_t* state_id __attribute__((unused)))
223+
const wsrep_gtid_t* state_id __attribute__((unused)),
224+
const int rcode __attribute__((unused)))
224225
{
225226
WSREP_DBUG_ENTER(w);
226227
return WSREP_OK;

0 commit comments

Comments
 (0)