Commits
- Commit:
d1afa82aaa98c9340e3ddd78aa76f99395124242
- 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:
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
- Commit:
b71fa1a77a73ba55320a0e3c858a6b7d28e50bc1
- From:
- Serge Petrenko <sergepetrenko@tarantool.org>
- Via:
- Yaroslav Lobankov <lobankovyv@gmail.com>
- Date:
test: re-enable linearizable test after fix
The test flaked a lot on FreeBSD and Mac OS due to some proxy problems
which were fixed in scope of tarantool/luatest@5b704ac.
Another possible failure looked like this:
NO_WRAP
[006] not ok 5 linearizable-read.test_leader_change
[006] # Can't modify data on a read-only instance - it is an orphan
[006] # stack traceback:
[006] # ...tarantool/test/replication-luatest/linearizable_test.lua:196: in function 'linearizable-read.test_leader_change'
[006] # ...
[006] # [C]: in function 'xpcall'
NO_WRAP
Fix it by waiting for the server to follow its upstreams.
Closes tarantool/tarantool-qa#277
NO_DOC=test fix
NO_CHANGELOG=test fix