- Sep 10, 2015
-
-
Konstantin Osipov authored
iproto thread can add quirks to thread scheduling, replace single-call yields with yields in a loop.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Correct return value of ipc_channel_put(), since it may return an error if the channel is closed. Make get/put functions inline. Remove a public declaration for ipc_channel_is_readonly() (towards removing the concept of readonly altogether).
-
Sulverus authored
-
Roman Tsisyk authored
This test was disabled by me during 1.6 async-master-master development. Since Tarantool doesn't use proc_title for replication status anymore, I added a new test that check box.info.replication.
-
- Sep 08, 2015
-
-
Sulverus authored
-
Nick Zavaritsky authored
Linux-specific option obsolete since kernel 2.2
-
Nick Zavaritsky authored
Wait() no longer called hence waiters not initialized. Does it make sence to have a test for :waiters (undocumented internals)?
-
Nick Zavaritsky authored
- Waiting on a brand new socket (neither listen nor connect called) completes immediately with HUP status on Linux. However on FreeBSD/osx it never completes. - Attempting to connect to a port bound on a loopback interface which is not yet listening yield ECONNREFUSED in blocking mode on Linux. On FreeBSD/osx blocking connect never completes ("never" means it doesn't complete in a reasonable time). - Calling shutdown() on a listening socket works in Linux but in FreeBSD/osx it doesn't.
-
- Sep 05, 2015
-
-
Konstantin Osipov authored
-
- Sep 03, 2015
-
-
Dmitry Simonenko authored
-
Dmitry Simonenko authored
I've added default tuple fields check against primary index key. Primary key can yet be updated, but an old key will be silently used anyway (copy used from update object). Added tests. ps. maybe it is better to validate upsert ops on execute?
-
Dmitry Simonenko authored
Work the same way as box.stat does. Support access by index: box.sophia['compaction.page_size'] and by call box.sophia()
-
Dmitry Simonenko authored
-
Dmitry Simonenko authored
-
- Sep 02, 2015
-
-
Daniil Medvedev authored
gh-1017 double-run bug fixed, and fixed same bug in stat_net. But bug with probability doesn't repeated
-
Daniil Medvedev authored
gh-1017 double-run bug fixed, and fixed same bug in stat_net. But bug with probability doesn't repeated
-
- Sep 01, 2015
-
-
Konstantin Osipov authored
Make code in alter.cc less error prone and less verbose. Miscellaneous cleanups.
-
- Aug 31, 2015
-
-
Daniil Medvedev authored
-
Dmitry Simonenko authored
-
Alexandr Lyapunov authored
Fixed a pair of minor bugs: 1)Fixed multidim_test, it could occasionally crash 2)Fixed rtree_misc.test.lua, snapshot test part 3)Reverted another rtree key mode - ind:select{0, 0, 10, 10} and ind:select{{0, 0, 10, 10}} - both works now
-
Dmitry Simonenko authored
-
- Aug 28, 2015
-
-
Roman Tsisyk authored
-
- Aug 27, 2015
-
-
Daniil Medvedev authored
-
- Aug 26, 2015
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
* make sure long-run tests pass * more systematic approach to downcasts to MemtxIndex in alter/system spaces code
-
Dmitry Simonenko authored
Support multi-part keys. Allow key duplicate compaction. Reduce storage cost, encode metadata, do not store msgpack (except value part). Reconstruct tuple on read using index schema. [replication] JOIN support temporary put to not working condition: there is no way to access possibly deleted space schema during the operation for a tuple reconstruction (multi-thread). recreate space key_def during join; enable join sophia: make every operation asynchronous sophia: fix join cursor and tests sophia: implement delayed update operation sophia: make delete write-only implement Handler::executeReplace sophia: merge fixes make upsert operation an engine specific sophia: make update logic common to memtx sophia-integration: switch to Sophia v1.2.3; implement upsert sophia: add half_commit mode support This mode disables conflict resolution for 'prepared' transactions and solves the issue with concurrent write-write conflicts during wal write/yield. sophia: do not allocate tuple during replace or update; refactoring sophia: extend and reorganize test suite sophia: implement box.sophia() sophia: #681: support or produce error on space::alter sophia: extend recover tests sophia: add separate iterator tests box: enable per-engine select * add executeSelect() into engine handler API * add MemtxIndex; move preallocated m_position from Index to MemtxIndex * remove it->close() * remove IteratorGuard class note: Sysview and Sophia engines yet share the same select code in engine::executeSelect() (which does iterator alloc-free) box: remove close call from box_iterator_free()
-
Roman Tsisyk authored
Reason: net.box depends on src/box/lua/tuple.h, src/box/lua/schema.lua, src/box/lua/call.cc and these dependencies impossible to fix. box.cfg{} is not required for net.box.
-
Alexandr Lyapunov authored
-
- Aug 25, 2015
-
-
Alexandr Lyapunov authored
-
Roman Tsisyk authored
* Implement explicit API to create/start/stop/destroy remote clients * Merge re-connect loop && fiber code for JOIN and SUBSCRIBE * Re-use connection between JOIN and SUBSCRIBE * Split SUBSCRIBE code from pull_from_replica() * Improve logging and unify 'warning_said' logic * Fix fiber_cancel() on a replica fiber * Move the single instance of struct replica to cluster.h * Remove dependency on replica.h(cc) from recovery.h(cc) * Use enum replica_state for states instead of const char *
-
Daniil Medvedev authored
* struct stat_counter keeps all statistics data (supports several instances) * test sends 100 rps, but this methods count only 80 * stat counting bug fixed * style fixes * renamed as stat.c to rmean.c
-
- Aug 24, 2015
-
-
Sulverus authored
* msgpack encoding with lua c api(call, insert, eval, ping) * remove extra hash lookup in net.box * review fixes for netbox-write * rewrite all encoding fucntions using Lua/C * replace channels with fiber.sleep()/fiber.wakeup() * review fixes (remove an unnecessary include)
-
- Aug 21, 2015
-
-
Roman Tsisyk authored
This patch adds four new functions to API: * luaL_checkuint64() * luaL_touint64() * luaL_checkint64() * luaL_toint64() This functions are needed to rewrite request encoding in net.box.
-
- Aug 19, 2015
-
-
Konstantin Osipov authored
-
- Aug 18, 2015
-
-
Konstantin Osipov authored
With structured configuration, i.e. a Lua table for a list of replication peers, it is difficult to pass a configuration option to the hook function as a single C object. Don't pass options in, but query them from the hook function with cfg_get* API. As a result, all "change" hooks have the same signature now, a step closer to the pluggable configuration API.
-
- Aug 14, 2015
-
-
Roman Tsisyk authored
Introduce a layer of wrappers for a number of internal box functions, dealing with accss to spaces and indexes. These wrappers: * don't throw exceptions * have a common prefix box_ * are exported in the server development headers Rewrite Lua C bindings to use the public API described above. Rewrite Lua FFI bindings to do the same. Add test.
-
- Aug 12, 2015
-
-
Konstantin Osipov authored
-