Skip to content
Snippets Groups Projects
  1. May 01, 2012
  2. Apr 30, 2012
    • Konstantin Osipov's avatar
      Fix a bug in tarantool_free() · 36799114
      Konstantin Osipov authored
      When salloc_init() fails, we call tarantool_free(),
      which calls fiber_free(), which tries to destroy the fiber registry
      hash, which has not been allocated.
      
      Check that the hash has been allocated, before trying to destroy it.
      36799114
  3. Apr 29, 2012
    • Konstantin Osipov's avatar
      Fix bug https://bugs.launchpad.net/tarantool/+bug/990728 · 39d92ffe
      Konstantin Osipov authored
      Fix bug https://bugs.launchpad.net/tarantool/+bug/990728
      "box.space:truncate() is a CPU hog".
      
      The old truncate algorithm would restart iteration
      from the beginning to delete every tuple.
      With HASH index it was especially slow, since
      it would have to skip more and more empty slots
      to find a non-empty slot for deletion.
      
      Rewrite the truncate() to walk linearly
      over all elements and delete them.
      
      This works both with HASH and TREE indexes.
      
      On the same token make truncate multipart-index
      aware (was missed in multipart-pk patch).
      Add a test for that.
      
      To work with multipart keys efficiently,
      implement tuple:slice(). A slice returns
      a linear set of fields from a tuple.
      Convenient to retreive a multipart key or
      tuple tail. Document tuple:slice().
      39d92ffe
    • Konstantin Osipov's avatar
      Darwin port: avoid the clumsy scheme with box.lua as a resource. · baa03bea
      Konstantin Osipov authored
      Convert box.lua to box.lua.c and compile it in.
      Fix broken out-of-source build of luajit, by adding
      a few more generated files to touch-nocreate rule.
      baa03bea
  4. Apr 28, 2012
  5. Apr 27, 2012
  6. Apr 26, 2012
  7. Apr 25, 2012
Loading