- Apr 18, 2014
-
-
Roman Tsisyk authored
-
- Apr 14, 2014
-
-
Konstantin Osipov authored
iobuf_init() needs to be called regardless of whether iproto is initialized or not. Do it. Make provisions to make it possible to update readahead on the fly.
-
- Mar 26, 2014
-
-
Konstantin Osipov authored
In preparation of removal of confetti and switching solely to Lua-based configuration file, reduce dependencies on struct tarantool_cfg and reorder server initialization, so that it can happen after the event loop has already been started.
-
- Mar 25, 2014
-
-
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 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
-
- Feb 20, 2014
-
-
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.
-
- Feb 12, 2014
-
-
Roman Tsisyk authored
This patch explicitly saves Exception to a thread-local variable inside struct cord on tnt_raise(). This variable can be used to safetly re-throw last exception from any place (not only from catch() block). This technique requires exception to be thrown and catched by pointers. tnt_raise macros was rewritten and all 'catch (Exception &)' blocks were substituted with 'catch (Exception *e)'. This patch also adds a new feature to box.raise() function. When called without arguments box.raise() re-throws last exception (if any). These changes needed to implement proper handlings of exception for FFI calls.
-
- Feb 07, 2014
-
-
Konstantin Osipov authored
-
- Feb 04, 2014
-
-
Konstantin Osipov authored
Introduce a structure to represent a thread with an event loop in it. Do not require a working event loop in say() or wal_opt_sync().
-
Roman Tsisyk authored
-
- Feb 03, 2014
-
-
Konstantin Osipov authored
Allow start of tarnatool_box in #! form. Remove script_dir. Make all configuration options optional (primary_port was the last one required). Make the configuration file itself optional. If no watcher is started for the event loop, either based on the config file settings, or in the #! script, do not start the event loop. Update the test runner to take the new changes into account. Fix a bug in symbols_load() when no symbols could be loaded when path to executable was neither relative nor absolute (but based on PATH). Fix a bug with ignored return value of slab_arena_create() in tuple.cc
-
- Jan 31, 2014
-
-
Konstantin Osipov authored
-
- Jan 26, 2014
-
-
Konstantin Osipov authored
Switch the parser to use msgpack for request body. Update the python driver and tests. net.box.test is disabled.
-
- Jan 17, 2014
-
-
Konstantin Osipov authored
-
- Jan 15, 2014
-
-
Roman Tsisyk authored
-
- Jan 10, 2014
-
-
Konstantin Osipov authored
Use the constants consistently across the code base.
-
- Jan 08, 2014
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
- Jan 05, 2014
-
-
Konstantin Osipov authored
Update the protoco spec in doc/box-protocol.txt. Update box.net.box with a bunch of hacks. Update the python driver. Remove support for flags variable (BOX_RETURN_TUPLE). It was not tested anywhere! (-> kill) Implemeng Lua msgpack.next() to support streamed processing. Add tests. Fix a bug with messed up aliases of msgpack.dumps() pointing to encode() and loads() pointing to decode() (should be vice versa).
-
- Jan 03, 2014
-
-
Konstantin Osipov authored
Introduce constants for ids. Update tests.
-
- Dec 25, 2013
-
-
Konstantin Osipov authored
Create a data structure representing a (potentially authenticated) session. This structure can hold authentication token.
-
- Dec 23, 2013
-
-
Konstantin Osipov authored
-
- Oct 04, 2013
-
-
Konstantin Osipov authored
Remove get_socket_addr(), use existing sockaddr_in to save in the cookie.
-
- Sep 27, 2013
-
-
Alexandr authored
-
- Sep 24, 2013
-
-
Konstantin Osipov authored
-
- Sep 20, 2013
-
-
Konstantin Osipov authored
-
- Sep 19, 2013
-
-
Dmitry E. Oboukhov authored
-
- Jul 16, 2013
-
-
Roman Tsisyk authored
* Parse request type inside of request_create * Remove palloc from request_create * Replace request_execute with a fun pointer in struct request * Refactor box_process API to accept struct request * * Create requests directly in iproto.cc and box_lua.cc * Update memcached, recovery and other parts to use new API
-
- Jul 02, 2013
-
-
Konstantin Osipov authored
The allocator consists of a common slab cache, region and slab allocators. The patch provides unit tests. It also modifies rlist_shift to be more in line with the rest of rlist functions.
-
- Jul 01, 2013
-
-
Konstantin Osipov authored
Extract the remaining places which access tuple->data directly into tuple_to_port.cc file, which will have full access to all tuple formats and all destinations to which a tuple may need to be converted. In this file it'll be possible to perform a conversion efficiently, at the same time, it will be the only place of cross-dependency between all tuple formats and all conversion destinations.
-
- Jun 26, 2013
-
-
Konstantin Osipov authored
-
- Jun 11, 2013
-
-
Roman Tsisyk authored
-
- Jun 07, 2013
-
-
Dmitry Simonenko authored
-
Dmitry E. Oboukhov authored
-
- Jun 06, 2013
-
-
Konstantin Osipov authored
Minor tweaks of the code as per a more thorough review of the 10k patch which introduces C++ instead of Objective C. No bugs found or fixed, only style changes.
-
- Jun 05, 2013
-
-
Roman Tsisyk authored
-
- Jun 04, 2013
-
-
Roman Tsisyk authored
-
- Jun 03, 2013
-
-
Roman Tsisyk authored
-
- Apr 22, 2013
-
-
Roman Tsisyk authored
-
Roman Tsisyk authored
-