- Aug 10, 2015
-
-
Konstantin Osipov authored
* style fixes * fix a bug in key opts decoder (alter.cc) * ensure dimension is visible in box.space * rebuild bootstrap.snap to use the new format
-
Alexandr Lyapunov authored
-
Konstantin Osipov authored
-
Sulverus authored
- fix net.box to satisfy strict.lua requirements - after review fixes - fix buffer:checksize() in buffer.lua
-
Konstantin Osipov authored
-
- Aug 09, 2015
-
-
ocelot-inc authored
-
- Aug 06, 2015
-
-
ocelot-inc authored
-
- Aug 05, 2015
-
-
ocelot-inc authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
When entire contents of the output buffer is flushed, we must reset write start and end positions. If the buffer can be recyced, they both are reset to point to the beginning of the buffer, otherwise write start is advanced to match write end. The old code would always execute *begin = *end assignment, regardless of whether it's case 1) (full reset) or 2) (advancing write start). gcc 4.8 could reorder this assignment, and put it in front of conditional iobuf_reset(). In that case, write start could point beyond write end, since iobuf_reset() resets write end to zero. A funny bug which would hit only under heavy load, only if there are -O2 optimizations, and no debug prints.
-
- Aug 04, 2015
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Make box.slab.stats() output CALL compatible.
-
Konstantin Osipov authored
Reflect in slab stats the quota size and index memory statistics. arena_used_ratio - how much of arena is used items_used_ratio - how much memory is actualy used for items, given that there is some fragmentation. Doesn't reflect index pages arena_used - how much of the quota is used (i.e. how much memory is used for index and tuple data) arena_size - this is the same as box.cfg.slab_alloc_arena. quota_size - how much of the quota is defined (box.cfg.slab_alloc_arena) quota_used - how much of the quota is used (reflects the memory taken by all slabs, including slabs in caches) Incompatible change: Extract detailed slab statistics to a separate call, box.slab.stats()
-
Konstantin Osipov authored
Fixes gh-849 'Compile error on CentOS' Expliclitly prohibit Gcc versions which do not support lambdas.
- Aug 03, 2015
-
-
Konstantin Osipov authored
Do stuff in box_free() only if initialization has succeeded.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Extract index_find() logic into space.h
-
Konstantin Osipov authored
-
Konstantin Osipov authored
- upsert semantics is update or insert, not "always update" - upsert doesn't return tuple - bind upsert as tuple method in Lua (useful for QA) - ensure upsert is properly encoded in xlog
-
ocelot-inc authored
-
ocelot-inc authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Implement 'strict' module, which prohibits use of undeclared global variables. require('strict').on() turns strict mode on require('strict').off turns strict mode off Turn strict on by default in debug build, off in release builds.
-
Konstantin Osipov authored
-
- Aug 02, 2015
-
-
ocelot-inc authored
-
Konstantin Osipov authored
Don't subtract con->parse_size on every call to iproto_connection_close(), there may be many calls if there are many outstanding requests when the socket is closed.
-
Konstantin Osipov authored
-
- Jul 31, 2015
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Conflicts: src/box/iproto.cc
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
- Jul 30, 2015
-
-
ocelot-inc authored
-
Konstantin Osipov authored
Conflicts: src/box/lua/call.cc src/box/tuple_update.cc
-