From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp61.i.mail.ru (smtp61.i.mail.ru [217.69.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id A0BD546970F for ; Fri, 29 Nov 2019 01:56:48 +0300 (MSK) References: From: Vladislav Shpilevoy Message-ID: Date: Thu, 28 Nov 2019 23:56:45 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH v4 0/2] Introduce _vsession_settings sysview List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: imeevma@tarantool.org, korablev@tarantool.org Cc: tarantool-patches@dev.tarantool.org Thanks for the patch! LGTM. We need a second opinion from Nikita. On 28/11/2019 09:46, imeevma@tarantool.org wrote: > This patch-set introduces _vsession_settings system view. This > sysview contains names and current values of the session settings. > > https://github.com/tarantool/tarantool/issues/4511 > https://github.com/tarantool/tarantool/tree/imeevma/gh-4511-system-view-for-session-settings > > Mergen Imeev (2): > sysview: make get() and create_iterator() methods virtual > box: introduce _vsession_settings sysview > > src/box/bootstrap.snap | Bin 5944 -> 5982 bytes > src/box/lua/space.cc | 2 + > src/box/lua/upgrade.lua | 23 ++++++ > src/box/schema_def.h | 2 + > src/box/session.cc | 132 ++++++++++++++++++++++++++++++++++ > src/box/session.h | 13 ++++ > src/box/sql.h | 36 ++++++++++ > src/box/sql/build.c | 140 +++++++++++++++++++++++++++++++++++++ > src/box/sysview.c | 48 +++++++++++-- > test/app-tap/tarantoolctl.test.lua | 4 +- > test/box-py/bootstrap.result | 5 +- > test/box/access_sysview.result | 124 +++++++++++++++++++++++++++++++- > test/box/access_sysview.test.lua | 54 ++++++++++++++ > test/box/alter.result | 5 +- > test/wal_off/alter.result | 2 +- > 15 files changed, 574 insertions(+), 16 deletions(-) >