- Oct 18, 2013
-
-
Roman Tsisyk authored
-
Veniamin Gvozdikov authored
-
- Oct 13, 2013
-
-
Konstantin Osipov authored
Instead of palloc allocator use a member of small allocators family, region_alloc. The plan is to remove salloc as well, and switch entire tarantool to libsmall. Fix a race condition in replication/swap.test, discovered with the new allocator.
-
- Oct 12, 2013
-
-
Konstantin Osipov authored
Do not use atexit() handlers, except the global tarantool_free() function, which does nothing in the snapshot process.
-
- Oct 09, 2013
-
-
Konstantin Osipov authored
Review fixes: - New configuration variable 'replication_protocol' is defined in the configuration file. The original patch would hand-craft it into generated files. - Simplified numeric version id generation. - Removed timeouts from new sio_* calls. They did't quite work, especially with blocking sockits. Timeouts should at least use select(), which updates wait time on exit.. - Removed include cfg/tarantool_box_cfg.h into recovery.cc, instead passed around all arguments explicitly. - Removed unused headers. - reused handshake code in master and replica - simplified handshake in replica fiber - removed clutter - touched here and there.
-
- Oct 04, 2013
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Remove get_socket_addr(), use existing sockaddr_in to save in the cookie.
-
- Sep 30, 2013
-
-
Alexandr authored
-
- Sep 27, 2013
-
-
Dmitry Simonenko authored
On snapshot, increase snapshot version id (u32), save current snapshot version within a tuple. On tuple free, check if tuple version is equal to current snapshot id, if so do direct free, otherwise append tuple to the delayed free list.
-
Alexandr authored
-
Konstantin Osipov authored
-
- Sep 26, 2013
-
- Sep 25, 2013
-
-
Dmitry Simonenko authored
-
- Sep 24, 2013
-
-
Konstantin Osipov authored
Fix C++ compile error of libsmall. Remove bogus assert() redefinition (why would anyone do such a thing?) Link tarantool_box with libsmall.
-
Konstantin Osipov authored
-
- Sep 23, 2013
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Provide open_memstream() implementation for system which miss it (Mac OS X).
-
Dmitry Simonenko authored
Allocate slab arena in shared memory to reduce pages splits during snapshotting. Adaptation of patch made by Yuri Nevinitsin @nevinitsin.
-
Alexandr authored
-
- Sep 20, 2013
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
- Sep 19, 2013
-
-
Dmitry E. Oboukhov authored
-
- Sep 18, 2013
-
-
Alexandr authored
-
- Sep 16, 2013
-
-
Alexandr authored
-
- Sep 12, 2013
-
-
Konstantin Osipov authored
Implement tuple validation when building a new index. This introduces such checks as for field type, presence of a field, etc. in all tuples added to the new index. Add error code ER_INDEX_ARITY, update tests. Add a check that the primary key is always unique. Test unique -> non-unique transition.
-
Alexandr authored
-
- Sep 10, 2013
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Fix memory leaks this test has revealed.
-
- Sep 08, 2013
-
-
Dmitry E. Oboukhov authored
* sys/prctl.h can be found only on Linux, but cmake recognizes Debian/kFreeBSD as Linux. * extern "C" for TIMEOUT_INFINITY (it is used in plugins)
-
Dmitry E. Oboukhov authored
* sys/prctl.h can be found only on Linux, but cmake recognizes Debian/kFreeBSD as Linux. * extern "C" for TIMEOUT_INFINITY (it is used in plugins)
-
- Sep 07, 2013
-
-
Konstantin Osipov authored
- Sep 03, 2013
-
-
Konstantin Osipov authored
What happened in production, during upgrade: - logger option in the config file was pointing to nowhere - the server would start, unable to check that the child logger process died prematurely - the server would fork spawner process to spawn replication relays - a replica would come in, asking for data - the spawner would successfully spawn a relay but die on SIGPIPE when trying to write to the log (a pipe leading nowhere by now) about the event -> we have a master with a dead spawner process, no more replicas, sorry. Well, someone should check their configuraiton in the first place. Nevertheless, try to be nice, and: - don't die on SIGPIPE in the spawner process. - when starting the logger, make an effort to check that it has started successfully. There is no reliable way to find this out, so do it with the best effort.
-
- Aug 31, 2013
-
-
Konstantin Osipov authored
Remove memcached support in 1.6. We're about to change the type system. About to add authentication. This all makes supporting memcache within the core too cumbersome.
-
- Aug 30, 2013
-
-
Konstantin Osipov authored
Fix confetti error output. Remove redundant cfg_reload(). Make sure we produce a Lua error on error. Remove duplicate code. Style renames.
-
Dmitry Simonenko authored
-
Dmitry Simonenko authored
-
Dmitry Simonenko authored
lua console. Refactor errinj lua bindings.
-
- Aug 28, 2013
-
-
Konstantin Osipov authored
-
Dmitry Simonenko authored
for proper yaml output
-