Skip to content
Snippets Groups Projects
  1. Dec 09, 2011
  2. Dec 06, 2011
  3. Dec 02, 2011
  4. Dec 01, 2011
    • Konstantin Osipov's avatar
      Continue porting feature-index-2objc branch. · b7f07084
      Konstantin Osipov authored
      Use the index iterator API in memcached.m,
      instead of hard-coded access to index internals,
      which broke index abstraction.
      
      This (temporarily) can (somewhat) break expire
      in presense of SELECT command against memcached namespace,
      since SELECT uses the same iterator.
      
      Hopefully, it's only temporary, since we'll soon
      be able to have more than one independent generic iterator
      over the same index.
      b7f07084
  5. Nov 30, 2011
  6. Nov 29, 2011
  7. Nov 23, 2011
  8. Nov 22, 2011
    • Konstantin Osipov's avatar
      Blueprint 'index-2objc': port two first patches · a0625f62
      Konstantin Osipov authored
      Port first two patches of branch index-2objc.
      
      We decided to use objects for indexes to ease addition
      of more specialized index types (such as primary key tree
      indexes, spatial indexes).
      
      Work done by Konstantin Shulgin.
      
      Incorporates review fixes. This patch:
      
       - makes struct index an Objective C class,
       - adds init and free methods,
       - moves allocation of sp_tree struction to heap (used
       to be allocated in the pool allocator) since we may
       in future create/drop indexes on the fly,
       - updates method calling signatures.
      a0625f62
    • Aleksey Demakov's avatar
  9. Nov 21, 2011
  10. Nov 14, 2011
  11. Nov 11, 2011
  12. Nov 10, 2011
  13. Nov 09, 2011
  14. Oct 20, 2011
  15. Oct 18, 2011
  16. Oct 17, 2011
  17. Oct 12, 2011
    • Konstantin Osipov's avatar
      Lua: implement tuple iterators and methods. · c452cb5b
      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.
      c452cb5b
  18. Oct 10, 2011
  19. Oct 03, 2011
  20. Sep 21, 2011
    • Konstantin Osipov's avatar
      Lua: rework index iterators. · 350e04ca
      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.
      350e04ca
    • Konstantin Osipov's avatar
      Fix bug https://bugs.launchpad.net/tarantool/+bug/837315 · a742ecca
      Konstantin 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.
      a742ecca
  21. Sep 20, 2011
  22. Sep 19, 2011
  23. Sep 16, 2011
  24. Sep 15, 2011
  25. Sep 14, 2011
  26. Sep 13, 2011
Loading