Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@freelists.org,
	Ilya Kosarev <i.kosarev@tarantool.org>,
	tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [tarantool-patches] [PATCH] replication: cancel replica joining thread at exit
Date: Tue, 22 Oct 2019 23:28:15 +0200	[thread overview]
Message-ID: <649183f1-0852-734d-fe75-5d6ed1e956eb@tarantool.org> (raw)
In-Reply-To: <20191015155007.6834-1-i.kosarev@tarantool.org>

Hi! Thanks for the patch!

> diff --git a/src/box/memtx_engine.h b/src/box/memtx_engine.h
> index c092f5d8e..43e16879d 100644
> --- a/src/box/memtx_engine.h
> +++ b/src/box/memtx_engine.h
> @@ -107,6 +107,8 @@ struct memtx_engine {
>  	uint64_t snap_io_rate_limit;
>  	/** Skip invalid snapshot records if this flag is set. */
>  	bool force_recovery;
> +	/** cord being currently used to join replica **/

Please, start the sentence from a capital letter,
and finish with a dot. Also, as you probably have seen
we use */ commend end mark, never **/.

I would also mention, that we need that pointer only
to be able to cancel the cord. Nothing else.

> +	struct cord *replica_join_cord;
>  	/** Common quota for tuples and indexes. */
>  	struct quota quota;
>  	/**
> 

  parent reply	other threads:[~2019-10-22 21:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15 15:50 [Tarantool-patches] " Ilya Kosarev
2019-10-21 13:57 ` [Tarantool-patches] [tarantool-patches] " Alexander Tikhonov
2019-10-22 21:28 ` Vladislav Shpilevoy [this message]
2019-10-23 12:59   ` [Tarantool-patches] " Ilya Kosarev
2019-10-23 20:55     ` Vladislav Shpilevoy
2019-10-24  5:09 ` Kirill Yukhin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=649183f1-0852-734d-fe75-5d6ed1e956eb@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=i.kosarev@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [Tarantool-patches] [tarantool-patches] [PATCH] replication: cancel replica joining thread at exit' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox