[Tarantool-patches] [PATCH 0/3] Introduce _session_setting system view

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Fri Dec 27 16:45:40 MSK 2019


LGTM.

On 19/12/2019 09:32, imeevma at tarantool.org wrote:
> This patch-set creates _session_settings system space. This space
> is used to view and change session settings.
> 
> https://github.com/tarantool/tarantool/issues/4511
> https://github.com/tarantool/tarantool/tree/imeevma/gh-4511-new-engine
> 
> Mergen Imeev (3):
>   box: introduce 'virtual' engine
>   box: introduce _session_settings system space
>   box: add SQL settings to _session_settings
> 
>  src/box/CMakeLists.txt                             |   2 +
>  src/box/bootstrap.snap                             | Bin 5921 -> 5975 bytes
>  src/box/box.cc                                     |   4 +
>  src/box/lua/space.cc                               |   2 +
>  src/box/lua/upgrade.lua                            |  15 +
>  src/box/schema_def.h                               |   8 +
>  src/box/session_settings.c                         | 409 +++++++++++++++++++++
>  src/box/session_settings.h                         |  62 ++++
>  src/box/sql.h                                      |  47 +++
>  src/box/sql/build.c                                | 273 ++++++++++++++
>  src/box/sql/main.c                                 |   8 +
>  src/box/virtual_engine.c                           | 134 +++++++
>  src/box/virtual_engine.h                           |  55 +++
>  test/app-tap/tarantoolctl.test.lua                 |   4 +-
>  test/box-py/bootstrap.result                       |   3 +
>  test/box/access_sysview.result                     |   6 +-
>  test/box/alter.result                              |   5 +-
>  ...h-4511-access-settings-from-any-frontend.result | 275 ++++++++++++++
>  ...4511-access-settings-from-any-frontend.test.lua | 103 ++++++
>  test/wal_off/alter.result                          |   2 +-
>  20 files changed, 1409 insertions(+), 8 deletions(-)
>  create mode 100644 src/box/session_settings.c
>  create mode 100644 src/box/session_settings.h
>  create mode 100644 src/box/virtual_engine.c
>  create mode 100644 src/box/virtual_engine.h
>  create mode 100644 test/box/gh-4511-access-settings-from-any-frontend.result
>  create mode 100644 test/box/gh-4511-access-settings-from-any-frontend.test.lua
> 


More information about the Tarantool-patches mailing list