Commit 55dfddff authored by Alexey Yurchenko's avatar Alexey Yurchenko Committed by Nirbhay Choubey

Fixing donate callback return code

parent 0465e3a1
...@@ -1092,7 +1092,7 @@ wsrep_cb_status_t wsrep_sst_donate_cb (void* app_ctx, void* recv_ctx, ...@@ -1092,7 +1092,7 @@ wsrep_cb_status_t wsrep_sst_donate_cb (void* app_ctx, void* recv_ctx,
current_gtid->seqno, bypass, env()); current_gtid->seqno, bypass, env());
} }
return (ret > 0 ? WSREP_CB_SUCCESS : WSREP_CB_FAILURE); return (ret >= 0 ? WSREP_CB_SUCCESS : WSREP_CB_FAILURE);
} }
void wsrep_SE_init_grab() void wsrep_SE_init_grab()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment