[Tarantool-patches] [PATCH v2 08/11] raft: relay status updates to followers
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Tue Sep 22 01:47:47 MSK 2020
> diff --git a/src/box/applier.cc b/src/box/applier.cc
> index c1d07ca54..ed76bf2ca 100644
> --- a/src/box/applier.cc
> +++ b/src/box/applier.cc
> @@ -298,6 +299,8 @@ apply_final_join_row(struct xrow_header *row)
> */
> if (iproto_type_is_synchro_request(row->type))
> return 0;
> + if (iproto_type_is_raft_request(row->type))
> + return 0;
It seems we can drop this check, can't we? Because now relay sends raft
messages only during subscribe phase.
> struct txn *txn = txn_begin();
> if (txn == NULL)
> return -1;
More information about the Tarantool-patches
mailing list