[Tarantool-patches] [PATCH 16/20] net.box: store next_request_id in C code

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Wed Aug 4 02:06:17 MSK 2021


Thanks for the patch!

> diff --git a/src/box/lua/net_box.c b/src/box/lua/net_box.c
> index 044f7d337ca7..1a615797d485 100644
> --- a/src/box/lua/net_box.c
> +++ b/src/box/lua/net_box.c
> @@ -79,6 +79,8 @@ enum netbox_method {
>  };
>  
>  struct netbox_registry {
> +	/* Next request id. */

Should start with /**. After that LGTM.

> +	uint64_t next_sync;
>  	/* sync -> netbox_request */
>  	struct mh_i64ptr_t *requests;
>  };


More information about the Tarantool-patches mailing list