Tarantool development patches archive
 help / color / mirror / Atom feed
From: Cyrill Gorcunov <gorcunov@gmail.com>
To: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH v2 3/4] raft: check box_raft is inited before usage
Date: Tue, 10 Nov 2020 10:30:44 +0300	[thread overview]
Message-ID: <20201110073044.GC2250@grain> (raw)
In-Reply-To: <657afb770bc7d6e300758dc47e403999ceb9691b.1604966200.git.v.shpilevoy@tarantool.org>

On Tue, Nov 10, 2020 at 12:58:53AM +0100, Vladislav Shpilevoy wrote:
> Since box_raft is now initialized at runtime and is used from
> several subsystems (memtx for snapshots; applier for accepting
> rows; box.info for monitoring), it may be easy to screw the
> intialization order and accidentally use the not initialized
> global raft object.

Ack

  reply	other threads:[~2020-11-10  7:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-09 23:58 [Tarantool-patches] [PATCH v2 0/4] Raft module, part 1 - explicit argument Vladislav Shpilevoy
2020-11-09 23:58 ` [Tarantool-patches] [PATCH v2 1/4] fiber: introduce fiber.f_arg Vladislav Shpilevoy
2020-11-10  7:15   ` Cyrill Gorcunov
2020-11-09 23:58 ` [Tarantool-patches] [PATCH v2 2/4] raft: add explicit raft argument to all functions Vladislav Shpilevoy
2020-11-10  7:30   ` Cyrill Gorcunov
2020-11-10 22:05   ` Vladislav Shpilevoy
2020-11-09 23:58 ` [Tarantool-patches] [PATCH v2 3/4] raft: check box_raft is inited before usage Vladislav Shpilevoy
2020-11-10  7:30   ` Cyrill Gorcunov [this message]
2020-11-09 23:58 ` [Tarantool-patches] [PATCH v2 4/4] vclock: move to src/lib Vladislav Shpilevoy
2020-11-10  7:31   ` Cyrill Gorcunov
2020-11-10  8:07 ` [Tarantool-patches] [PATCH v2 0/4] Raft module, part 1 - explicit argument Serge Petrenko
2020-11-10 22:05   ` Vladislav Shpilevoy

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=20201110073044.GC2250@grain \
    --to=gorcunov@gmail.com \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v2 3/4] raft: check box_raft is inited before usage' \
    /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