Skip to content
Snippets Groups Projects
  1. Sep 08, 2015
    • Nick Zavaritsky's avatar
      gh-42: Remove SO_BSDCOMPAT in socket package · 59f1c3c3
      Nick Zavaritsky authored
      Linux-specific option obsolete since kernel 2.2
      59f1c3c3
    • Nick Zavaritsky's avatar
      gh-42: Remove probing waiters in bsdsocket test · b1d4c598
      Nick Zavaritsky authored
      Wait() no longer called hence waiters not initialized. Does it make
      sence to have a test for :waiters (undocumented internals)?
      b1d4c598
    • Nick Zavaritsky's avatar
      gh-42: Remove OS-specific checks in bsdsocket test · c710a18b
      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.
      c710a18b
  2. Sep 02, 2015
  3. Sep 01, 2015
  4. Aug 31, 2015
  5. Aug 28, 2015
  6. Aug 27, 2015
  7. Aug 26, 2015
    • Konstantin Osipov's avatar
      sophia: fix compile failure (gcc 4.6) · b6522b75
      Konstantin Osipov authored
      b6522b75
    • Konstantin Osipov's avatar
    • Konstantin Osipov's avatar
      sophia: review fixes · 66873edf
      Konstantin Osipov authored
      * make sure long-run tests pass
      * more systematic approach to downcasts to MemtxIndex in
      alter/system spaces code
      66873edf
    • Dmitry Simonenko's avatar
      sophia: switch to new storage scheme · b5e87307
      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()
      b5e87307
    • Roman Tsisyk's avatar
      Move net.box back to src/box/lua · 20dba7e9
      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.
      20dba7e9
    • Alexandr Lyapunov's avatar
      a93a7fc6
  8. Aug 25, 2015
  9. Aug 24, 2015
    • Sulverus's avatar
      net.box: speed optimizations · 4e9bde25
      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)
      4e9bde25
  10. Aug 21, 2015
  11. Aug 19, 2015
  12. Aug 18, 2015
    • Konstantin Osipov's avatar
      cfg: new cfg api, without explicit passing of cfg options · a9ea70d8
      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.
      a9ea70d8
  13. Aug 14, 2015
    • Roman Tsisyk's avatar
      Fix #897: Introduce a public C API for stored functions in C and plugins · 316d4e3a
      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.
      316d4e3a
  14. Aug 12, 2015
  15. Aug 11, 2015
  16. Aug 10, 2015
  17. Aug 04, 2015
    • Konstantin Osipov's avatar
      gh-968: box.slab.info.arena_used_ratio is incorrect · bc912acb
      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()
      bc912acb
  18. Aug 03, 2015
  19. Jul 27, 2015
  20. Jul 23, 2015
    • Konstantin Osipov's avatar
      iproto: move networking into a separate thread · 518b570c
      Konstantin Osipov authored
      Implement a generic inter-cord communication bus and use it
      in separating network I/O and transaction processor.
      
      Split all request processing work into network thread part
      and transaction processor thread part, and make these
      parts multi-threading safe.
      
      Generalize fiber pool into an own data structure and API.
      
      Misc cleanups.
      518b570c
  21. Jul 22, 2015
  22. Jul 20, 2015
  23. Jul 19, 2015
  24. Jul 17, 2015
Loading