Commits
- Commit:
a9271fb30a882df8c94d812235075dc93f16184d
- From:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
lua: support conf module in command-line options
Attention: Patch contains a breaking change - default behaviour in
tarantool is changed: by default "tarantool" command prints a usage and
don't run a Lua interpeter.
1. https://github.com/tarantool/conf
Closes #8613
@TarantoolBot document
Title: introduce cli options for conf module
Previously tarantool entered to interactive mode by starting Lua
interpreter. Now 'tarantool' command prints a usage and don't run a Lua
interpeter. Two new options were added: --name (-n) and --config (-c).
- Commit:
1c32f89c9362ae61d44c4c2ef438725c392489a8
- From:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
lua: implement stub for etcd source
To enable etcd source support in builtin conf module, set the following
CMake variables:
- ENABLE_CONF_SOURCE_ETCD: ON
- ENABLE_ETCD_CLIENT: ON
- CONF_SOURCE_ETCD_LUA_SOURCE: etcd client Lua source files
- ETCD_CLIENT_DIR: path to a directory with etcd client Lua source files
If ENABLE_CONF_SOURCE_ETCD is unset, then a stub implementation is
built, which spits an error on attempt require "conf.source.etcd".
Closes #XXXX
NO_CHANGELOG=internal
NO_DOC=internal
NO_TEST=internal
- Commit:
1e242024ee7a547943355b11398c686c52cf4c98
- From:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
lua: embed conf module
tarantool/conf [1] is a Lua module for configuring tarantool instance.
Proposed patch embeds conf module to tarantool and adds regression tests
for conf module.
1. https://github.com/tarantool/conf
Part of #8613
@TarantoolBot document
Title: embedded conf module
Now tarantool has a conf module on its board. conf is a Lua module which
is widely used by Tarantool users for configuration clusters with
Tarantool instances.
- Commit:
52f6ed4d768614b02d5c132c661adf408c239d7e
- From:
- Vladimir Davydov <vdavydov@tarantool.org>
- Via:
- Vladimir Davydov <vdavydov.dev@gmail.com>
- Date:
static-build: enable compiler optimizations for dependencies
An autoconf-generated configure script doesn't enable compiler
optimization flags if CFLAGS / CXXFLAGS options are set explicitly.
We started setting CFLAGS / CXXFLAGS in commit e6abe1c91ae3
("cmake: add extra security compiler options"). As a result, users
started experiencing performance degradation issues, like the one
described in tarantool/tarantool-ee#440.
Let's set -O2 in CFLAGS / CXXFLAGS explicitly to fix that.
Closes #8606
Needed for tarantool/tarantool-ee#440
NO_DOC=build
NO_TEST=build
- Commit:
d8faca69a6339d21e97ceee4def69082b9c0acba
- From:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Via:
- Vladimir Davydov <vdavydov.dev@gmail.com>
- Date:
lua: implement stubs for etcd client
To enable etcd client set the following CMake variables:
- ENABLE_ETCD_CLIENT: ON
- ETCD_CLIENT_DIR: path to a directory with etcd client Lua source
files
If ENABLE_ETCD_CLIENT is unset, then a stub implementation is built,
which spits an error on attempt require etcd-client.
Needed for https://github.com/tarantool/tarantool-ee/issues/443
MSG="stubs for enterprise version, no user-visible changes"
NO_CHANGELOG=MSG
NO_DOC=MSG
NO_TEST=MSG