[Tarantool-patches] [PATCH v2] recovery: make it yield when positioning in a WAL

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Thu May 13 14:21:57 MSK 2021


Hi! Good job on the fixes!

> diff --git a/src/box/relay.cc b/src/box/relay.cc
> index 81ac35bf2..efc201e80 100644
> --- a/src/box/relay.cc
> +++ b/src/box/relay.cc
> @@ -262,8 +262,9 @@ relay_new(struct replica *replica)
> 
>  /** A callback recovery calls every now and then to unblock the event loop. */
>  static void
> -relay_yield(void)
> +relay_yield(struct xstream *stream)
>  {
> +    (void) stream;

For unary operators we omit whitespace after them.

After you fix this - LGTM!


More information about the Tarantool-patches mailing list