- Apr 10, 2014
-
-
Konstantin Osipov authored
Update mans, docs. A lot of resources still need to be updated (build scripts, etc).
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Don't block the event loop in the interactive mode. Fix a merge bug (remove a debug print out from the test system).
-
Konstantin Osipov authored
Do not read or require tarantool.cfg. Accept all options in the script itself. Split server reconfiguration so that parts of the server can be reconfigured independently. Remove dependency on confetti. To configure the server at start, call box.cfg{option1=value1, option2=value2} To reset an option on the fly, do the same: box.cfg{option=value1} box.cfg is a Lua table with all existing options. Make local hot standby the default and remove local hot standby option [gh-231]. If neither primary nor admin port is specified, the server does not get stuck in local hot standby mode, and becomes a master immediately. Incompatible changes: - pid_file is nil by default, and the server does not create a pid file by default. - local_hot_standby option is removed - log_level is now a dynamic option - wal_mode is "write" by default - box.cfg only prints non-nil options Clean up a lot of garbage code in the test system. Remove configuration file support from TarantoolServer and Lua test preprocessor. The patch also contains a few unrelated improvements in the interactive mode (history support, ^D leads to exit). @todo The patch disables region_gc in recovery, which may lead to memory overconsumptions when recovering large snapshots. This needs to be fixed separately. @todo Remove all configuration files and confetti files in a follow-up patch (not done in this patch to not clutter it).
-
- Apr 09, 2014
-
-
Konstantin Osipov authored
-
- Apr 08, 2014
-
-
Konstantin Osipov authored
-
- Mar 27, 2014
-
-
Konstantin Osipov authored
See rationale for this fix in gh-223 Remove on the same token a buch of dead code for sandboxing and do a few renames.
-
- Mar 26, 2014
-
-
Alexandr authored
-
Konstantin Osipov authored
Remove command line options: --cfg-get --check-config --config --init-storage - these are gone forever, in preparation for config-less start. --background -- move to tarantool.cfg for now, in the future it will be part of Lua config. Make #! mandatory - if the server is started without #!, it's only possible to query its version or get startup help (--version and --help are the only remaining supported options). When #! is present, do not parse options, pass them wholly to the script at hand. Add helper scripts to test suites, to start/stop the server. For now, the scripts are empty, in the future they will be merged with a respective config file.
-
Roman Tsisyk authored
-
- Mar 25, 2014
-
-
Roman Tsisyk authored
-
Roman Tsisyk authored
* Change format of xlog/snap files to MsgPack-based format * Update replication to use IPROTO protocol * Rework replica bootstrap to process snapshot by rows * Add support for composite rows in fio_batch * Fix iproto->sync in SUBSCRIBE command
-
- Mar 21, 2014
-
-
esha authored
purpose: OOS-build tests fail
-
- Mar 20, 2014
-
-
Roman Tsisyk authored
* Install *.lua modules into ${DATADIR}/tarantool/1.5 and *.so modules into ${LIBDIR}/tarantool/1.5 * Fix default package.path and package.cpath * Install Lua headers to ${INCLUDE_DIR}/tarantool/1.5 * Install config.h to ${INCLUDE_DIR}/tarantool/1.5 * Add a new package - tarantool-dev (server development headers) * Use RPM Macroses in rpm.spec * Fix tarball generation for Debian * Use GNUInstallDirs.cmake to setup directories
-
esha authored
purpose: OOS-build tests fail
-
- Mar 13, 2014
-
-
Dmitry Simonenko authored
-
- Mar 12, 2014
-
-
Dmitry Simonenko authored
deprecated connector_c tests
-
esha authored
-
bigbes authored
-
bigbes authored
-
- Mar 11, 2014
-
-
Konstantin Osipov authored
Add new system spaces _user and _priv to store users, their passwords and their privileges. Implement an authentication request in iproto protocol Add a system space _func to store presistent information about Lua functions. A function is now a subject to ownership and privilege control. Use MySQL-style sha1-double-hashing authentication by default. Implement new Lua functions: box.session.su() box.session.uid() box.schema.user.create() box.schema.user.drop() box.schema.user.grant() box.schema.user.revoke() box.schema.func.create() box.schema.func.drop() Store space creator in space definition. What this patch doesn't implement: - privilege checks in replication - authentication of replication slaves - exhaustive test coverage
-
Roman Tsisyk authored
-
Roman Tsisyk authored
-
- Mar 07, 2014
-
-
Alexandr authored
-
Roman Tsisyk authored
-
Roman Tsisyk authored
-
- Mar 06, 2014
-
-
Alexandr authored
-
Konstantin Osipov authored
-
- Mar 05, 2014
-
-
Roman Tsisyk authored
This patch converts space:iterator() to be compatible with Lua for-in loop conventions. The most important change is that generating function now returns *state* as its first result: for _state, val in space.index[0]:pairs() do work(val) end New syntax follows the best practices of Lua community and makes index API to be more consistent with pairs() and tuple iterators. This change partially restores pairs() logic as it was implemented before 49875615.
-
- Mar 03, 2014
-
-
Roman Tsisyk authored
-
- Feb 28, 2014
-
-
Roman Tsisyk authored
-
- Feb 27, 2014
-
-
Roman Tsisyk authored
This patch introduces backward-incompatible changes to select() and adds couple new methods: * index:select(key) -> tuple, tuple, ... was changed to index:select(key, opts = {}) -> { tuple } where opts can be - iterator = ALL if key == nil or key == {} | EQ otherwse - offset = 0 - limit = unlimited * index:get(key) -> tuple | nil | error on more than one tuple a wrapper for select() to get the single tuple * space:put(tuple) -> tuple an alias for space:replace() (to provide integrity with get()) Test suite, box.space and box.net.box API were also updated to meet changes.
-
- Feb 24, 2014
-
-
Roman Tsisyk authored
This patch replaces Lua/C bindings to iterator by FFI.
-
Roman Tsisyk authored
Minor changes - fix msgpack.decode for zero-size arrays and update line numbers in result files.
-
Roman Tsisyk authored
-
- Feb 20, 2014
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Marshall replication using the primary port. Split iproto requests into two categories: DML and admin. Change PING request code to 64, to lay within admin request range. Perform administrative requests synchronously, without pushing them into an event queue. Add a new administrative request, IPROTO_SUBSCRIBE. Use dynamic memory for struct iproto_request. Introduce memory management. Remove replication_port from the configuration file and update tests. Fix the test runner so that it correctly generates replication_source to point to the primary port. Add variable arguments to IllegalParams. Move replia-related recovery methods to a new header, replica.h. Remove a debug printout from box.net.lua Update tests.
-
Alexandr authored
-
- Feb 19, 2014
-
-
Eugine Blikh authored
'print_log'`
-
Eugine Blikh authored
-