From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 127A325F2D for ; Wed, 4 Jul 2018 14:04:58 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P7AwVpdYq66a for ; Wed, 4 Jul 2018 14:04:58 -0400 (EDT) Received: from smtp37.i.mail.ru (smtp37.i.mail.ru [94.100.177.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id C43692183E for ; Wed, 4 Jul 2018 14:04:57 -0400 (EDT) Date: Wed, 4 Jul 2018 21:04:52 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCHv2] Detect when instance is run or restarted by tarantoolctl. Message-ID: <20180704180452.GA20825@chai> References: <20180702144822.4860-1-sergepetrenko@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180702144822.4860-1-sergepetrenko@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: Serge Petrenko * Serge Petrenko [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