Skip to content
Snippets Groups Projects
  1. Feb 08, 2013
  2. Jan 09, 2013
    • Konstantin Osipov's avatar
      Implement box.session, on_connect and on_disconnect triggers. · db6d2c84
      Konstantin Osipov authored
      Since connect/disconnect events in iproto run outside
      fiber context, queue execution of on_connect/on_disconnect
      triggers through the request queue. Generalize the request
      queue for that purpose.
      
      Implement a framework for on_connect/on_disconnect triggers
      and Lua bindings for it.
      
      Add tests and docs.
      db6d2c84
  3. Dec 24, 2012
    • Konstantin Osipov's avatar
      Cleanup, refactoring. · 3ccd6446
      Konstantin Osipov authored
      Move Box API declarations to box.h.
      Make box.h a public header.
      Add comments to box functions.
      Rename fuctions accordingly.
      Make includes for connector/c more local.
      3ccd6446
  4. Dec 17, 2012
  5. Nov 26, 2012
  6. Nov 21, 2012
  7. Nov 08, 2012
  8. Oct 25, 2012
    • Konstantin Osipov's avatar
      Change the piecemeal non-blocking writev() algorithm. · 1af7b0b9
      Konstantin Osipov authored
      Change sio_advance_iov to never modify iov vector in place.
      This allows for reuse of this function in a raw event
      loop, without fibers.
      
      Minor cleanups.
      
      Make memcached/noreply.test less race prone:
      flush all command is running in the event loop, and sometimes
      it doesn't get a chance to finish before we issue the next
      command.
      1af7b0b9
  9. Oct 23, 2012
    • Dmitry E. Oboukhov's avatar
      some changes by ipc review · 193ab2c6
      Dmitry E. Oboukhov authored
       * join fiber->ready and fiber->ifc into one fiber->state
       * create fiber_yield_timeout function
       * channel uses fiber_yield_timeout
       * ipc test doesn't use fiber.sleep
      193ab2c6
  10. Oct 20, 2012
    • Konstantin Osipov's avatar
      A grand move around of files. · fe6f2197
      Konstantin Osipov authored
      Move memcached to src/
      Make iproto.m dependend on box/*, not vice versa.
      Remove box_ prefixes from test suite names.
      Initialize networking outside of box/.
      
      This makes Box a step closer to being just a storage
      layer for Tarantool.
      
      Still some ugly deps since box/ continues to manage
      local hot standby and memcached expire (todo: move it out).
      fe6f2197
    • Konstantin Osipov's avatar
      box.ipc: style fixes. · 7d35ab25
      Konstantin Osipov authored
      7d35ab25
  11. Oct 18, 2012
  12. Oct 16, 2012
  13. Oct 15, 2012
  14. Oct 14, 2012
  15. Oct 11, 2012
  16. Oct 10, 2012
  17. Oct 09, 2012
  18. Oct 08, 2012
    • Dmitry E. Oboukhov's avatar
      box.ifc namespace in tests · ee624e9c
      Dmitry E. Oboukhov authored
      ee624e9c
    • Konstantin Osipov's avatar
      Extract cooperative IO from fiber.m. · 4a76b67f
      Konstantin Osipov authored
      Make all subsystems (administrative console,
      replication, memcached, binary protocol) use exception-based
      socket API (sio.m).
      
      Remove all fiber members related to socket I/O.
      Remove fiber->peer and fiber->cookie.
      The idea of the cookie is to preserve in the WAL
      the originator of the request. This information is, however,
      lost when saving a snapshot. To my knowledge there is no use
      of this functionality, apart from pretty-printing
      the WAL.
      
      Peer is like cookie, but is textual and is used
      for logging. However, now, as long as network errors
      occur outside fiber context, most of the usefulness
      is lost. The only remaining case is when someone is
      trying to execute a write request on a read-only port.
      
      For all other cases, sio.m already supplies SocketError
      with peer name, and this is where it's most useful.
      4a76b67f
    • Dmitry E. Oboukhov's avatar
      e5fb320b
  19. Oct 05, 2012
  20. Oct 04, 2012
  21. Oct 05, 2012
  22. Oct 03, 2012
  23. Oct 02, 2012
Loading