[tarantool-patches] Re: [PATCHv2] Detect when instance is run or restarted by tarantoolctl.

  • From: Konstantin Osipov <kostja@xxxxxxxxxxxxx>
  • To: tarantool-patches@xxxxxxxxxxxxx
  • Date: Wed, 4 Jul 2018 21:04:52 +0300

* Serge Petrenko <sergepetrenko@xxxxxxxxxxxxx> [18/07/02 17:54]:

There are some hacks to know the instance was run by tarantoolctl,
none of them are too reliable, though. This patch introduces 2
environment variables set by tarantoolctl for the instance to
know when it's being run or restarted.

Closes: #3215

Hi,

Please add a petition to docbot to the commit message.

Re TARANTOOL_RESTARTED, let's discuss this - I don't think 
this is going to address 
https://github.com/tarantool/tarantool/issues/3384
and gh-3215 is not asking for it.

So for now I would remove it from the patch.

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov

Other related posts: