Skip to content
Snippets Groups Projects
  1. May 17, 2012
  2. May 16, 2012
    • Konstantin Osipov's avatar
      Refactoring: remove the hack with storing txn in fiber. · d8025e53
      Konstantin Osipov authored
      Continue cherry-picking refactoring ideas from txn-refine
      tree.
      We only needed to store txn in fiber because in port_lua
      implementation we needed to access lua_State.
      Instead of keeping this indirect dependency, pass around ports
      explicitly.
      On the same token, make ports Objective C classes:
      this is necessary to make them stateful.
      In port_lua state keep a pointer to lua thread, and allocate
      a new port_lua instance on each lbox_process call.
      The port is currently allocated on fiber->gc_pool
      and never destroyed.
      d8025e53
  3. May 15, 2012
  4. May 14, 2012
  5. May 13, 2012
  6. May 12, 2012
  7. May 05, 2012
  8. May 04, 2012
  9. May 03, 2012
  10. May 01, 2012
  11. Apr 29, 2012
  12. Apr 28, 2012
    • Konstantin Osipov's avatar
      Replacing salloc() with malloc() found a bug introduced by multipart key. · 69720f21
      Konstantin Osipov authored
      Replacing salloc() with malloc() found a bug triggered
      by multipart key patch:
      we don't always check for key cardinality.
      69720f21
    • Konstantin Osipov's avatar
      Fix a bug with a crash when slab alloc arena is full. · 879b7026
      Konstantin Osipov authored
      When the slab alloc arena is fully used, and we try to
      truncate a space, we could crash, since
      
      a) we never check return value of salloc()
      b) we used to salloc() an iterator for truncate(), and
      it would return NULL, and we would try to access it without a check.
      
      The fix is:
      
      - to throw exceptions directly from salloc()
      - to not use salloc() for iterators, since we still should
      be able to truncate a namespace when the slab alloc arena is
      full.
      879b7026
  13. Apr 27, 2012
  14. Apr 26, 2012
  15. Apr 25, 2012
  16. Apr 23, 2012
    • Konstantin Shulgin's avatar
      bug987235: · ba9a9f72
      Konstantin Shulgin authored
      'find' TreeIndex class member was fixed. Now allocate enough space for key_data.
      ba9a9f72
  17. Apr 21, 2012
    • Konstantin Osipov's avatar
      Review comments on multipart-primary-key blueprint. · 466a1a93
      Konstantin Osipov authored
      Spelling fixes in the error message file.
      
      Add more information to the error when key cardinality
      doesn't match index cardinality in exact match.
      
      Avoid server start/stop in box_big/hash.test (ugly,
      but until we have named/dynamic spaces, which are already in the
      pipeline, we should not make our test procedure slower).
      
      Rename multipart-pk.test to tree_pk_multipar.test:
      consistently use underscores, not dashes, in file
      names.
      
      (Unrelated) Recycle more error codes.
      
      Make keyValue an inline function to save a few CPU cycles.
      
      Avoid creation of an extra table in box.lua just to find out
      variable list array cardinality.
      
      Revert changes to box.update():
      a) they break backward compatibility
      
      This reason alone should be sufficient. There must be no changes
      which break backward compatibility in a stable release, unless
      it's a fix for a crashing/security bug.
      
      box.update() changes got to be done in a separate task,
      and should not break backward compatibility.
      
      Leave update_ol for now, to test multi-part primary key updates,
      even though the function itself is quite heavy, hardly something
      we can recommend while running Lua procedures in production.
      466a1a93
  18. Apr 20, 2012
  19. Apr 18, 2012
  20. Apr 16, 2012
Loading