- Oct 26, 2011
-
-
Dmitry Simonenko authored
-
- Oct 20, 2011
-
-
Konstantin Osipov authored
Implement box.tuple.unpack(), which converts the tuple to a list of lua atoms.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Shulgin authored
-
Konstantin Shulgin authored
-
Dmitry Simonenko authored
-
- Oct 19, 2011
-
-
Konstantin Osipov authored
Add basic support for splice in box.update() operation.
-
Dmitry Simonenko authored
-
Dmitry Simonenko authored
-
Dmitry Simonenko authored
-
- Oct 18, 2011
-
-
Dmitry Simonenko authored
-
Dmitry Simonenko authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Creating a new userdata object whenever a fiber is accessed is inefficient and complicates fiber garbage collection: if a fiber is referenced to by multiple userdata instances, it's hard to know when to free it up. Implement 'memoize' pattern for fiber userdata to deal with these two issues. After this patch, no matter how and where from one gets a reference to a fiber, it's the same userdata object. As a side effect, getting fiber identity in Lua is also easy -- one can just directly compare two fibers to tell whether or not they are the same.
-
Konstantin Osipov authored
-
- Oct 17, 2011
-
-
Konstantin Osipov authored
Add fiber.cancel(), fiber.sleep(), fiber.testcancel(), fiber.id(). Draft the fiber library interface description.
-
- Oct 13, 2011
-
-
Konstantin Osipov authored
Update ER_NO_SUCH_PROC, if the procedure doesn't exist, quote the procedure name, since it can be empty.
-
Konstantin Osipov authored
Check that --background actually works, fix the coding style.
-
Konstantin Osipov authored
A fix and a test case for https://bugs.launchpad.net/tarantool/+bug/750658 --background neither closes nor redirects stdin/stdout/stderr --background option didn't work properly, since stdin/stdout/ stderr streams were left open and pointing to a terminal. This lead to a hang when tarantool was started from a shell script or over ssh. If --background option is given, we need to fork, try to create a pid file, close stdin/stdout/stderr and then initialize the logging subsystem.
-
- Oct 12, 2011
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Add tuple::pairs() and tuple:next() implementation. Update tuple metatable __index implementation to do method lookup. Fix a bug in box.unpack() where we wouldn't check that lua_tolstring() can return NULL (which happens if nil is on the stack). Add tests.
-
- Oct 11, 2011
-
-
Dmitry Simonenko authored
-
- Oct 10, 2011
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Implement iterators, range select, namespace truncate.
-
Konstantin Osipov authored
-
- Oct 05, 2011
-
-
Konstantin Shulgin authored
-
Konstantin Shulgin authored
yield function was renamed to fiber_yield.
-
- Oct 03, 2011
-
-
Konstantin Osipov authored
-
- Sep 30, 2011
-
-
Konstantin Osipov authored
Duplicate keys are sorted by tuple pointer value. This led to non-stable test output when retrieving all duplicates. Sort results in the test runner to avoid sporadic errors.
-
Konstantin Osipov authored
-
- Sep 29, 2011
-
-
Dmitry Simonenko authored
-
- Sep 21, 2011
-
-
Konstantin Osipov authored
Simplify index_tree_el_compare Make iterators usable regardless of index type. Add coverage. Add more tests. In iterators over tree indexes, check that key type matches field type. Add tests for non-unique multipart keys. Update output of the python test library to not print extra trailing '\0' at the end of error message. Update test results.
-
https://bugs.launchpad.net/tarantool/+bug/837315Konstantin Osipov authored
Fix bug https://bugs.launchpad.net/tarantool/+bug/837315 When write_inbox() failed, wal_write() would throw an exception. This had two effects: first, a call to confirm_lsn() would confirm lsn of the failed transaction out of order (indeed, nothing is written, so this lsn is confirmed before lsns of transactions which are waiting on write to complete) second, txn_rollback() was called with fiber->mod_data.txn == 0. The second led to an assertion failure. The fix only fixes the second effect, so that an error is sent to the client, and the server does not terminate. It's not possible to come up with a serial test case for the bug, since to fill up all inboxes one needs many concurrent writes.
-
- Sep 20, 2011
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
- Sep 19, 2011
-
-
Konstantin Osipov authored
Remove the restriction on type of primary key index. Fix a compilation error.
-
Konstantin Osipov authored
Implement iterator over HASH index, and use it in mod_snapshot() and build_indexes().
-
Konstantin Osipov authored
Change signature of index_tree_el_init, avoid unnecessary use of palloc(), preallocate buffers for reads and writes instead.
-