Skip to content
Snippets Groups Projects
  1. Jul 01, 2015
    • Roman Tsisyk's avatar
      Add bindings for struct ibuf and rewrote sockets to use it. · 75af9e35
      Roman Tsisyk authored
       + Rewrite msgpackffi to use ibuf to use ibuf for temporary allocations
       + Rewrite socket:sysread() to use ibuf for temporary allocations
       + Rewrite socket:read() and socket:write() to use ibuf
       + Add socket:sysread(char *, size) and socket:syswrite(const char *, size)
      75af9e35
    • Roman Tsisyk's avatar
      Always use protocol = 0 for AF_UNIX sockets · 0ed73074
      Roman Tsisyk authored
      Replace socket('AF_UNIX', 'SOCK_STREAM', 'ip') with
              socket('AF_UNIX', 'SOCK_STREAM', 0).
      
      Fixes distributions with missing "ip 0 IP" line in /etc/protocols
      (e.g. Arch Linux).
      0ed73074
  2. Jun 26, 2015
  3. Jun 16, 2015
    • Konstantin Osipov's avatar
      lua-msgpack: introduce API to encode using any memory source · 1d80838f
      Konstantin Osipov authored
      Introduce mpstream API to lua-msgpack encoder, which allows it
      to encode msgpack into any memory source. The streaming API
      should make it possible to encode even directly to network.
      
      Patch region allocator to support the new API.
      Patch iobuf/obuf output buffer of iproto to support the new API.
      1d80838f
  4. Jun 15, 2015
  5. Jun 09, 2015
  6. Jun 08, 2015
  7. Jun 05, 2015
  8. Jun 04, 2015
  9. Jun 02, 2015
  10. Jun 01, 2015
    • Konstantin Osipov's avatar
      snapshot: review fixes · 30764583
      Konstantin Osipov authored
      - add forgotten latch.h, fix latch.h header guards
      - make sure the stuff in thread is thread-safe and exception-safe
      - remove snapshot_pid and update the docs.
      - remove empty lines/trailing spaces
      - move xlog_open()/xlog_close() to the snapshot thread
      - use cord_costart() to have fiber infrastructure
       in the checkpoint thread, rather than run checkpoint
       in sched fiber
      - remove #include <fiber.h> from memtx_engine.h, it's not
        needed there
      - remove errNo() method from base class Exception, anything
        with an error no inherits from SystemError. Moreover,
        now that we have a rich exception infrastructure at our
        disposal, we should switch to using it in engine API,
        so in future returning error no will be replaced
        with exceptions.
      30764583
  11. May 29, 2015
  12. May 28, 2015
  13. May 27, 2015
  14. May 26, 2015
  15. May 25, 2015
  16. May 22, 2015
Loading