Skip to content
Snippets Groups Projects
  1. Apr 18, 2014
  2. Apr 14, 2014
  3. Mar 26, 2014
  4. Mar 25, 2014
    • Roman Tsisyk's avatar
      Use MsgPack for xlog/snaps files and IPROTO for replication · 4cb7c9f5
      Roman Tsisyk authored
       * Change format of xlog/snap files to MsgPack-based format
       * Update replication to use IPROTO protocol
       * Rework replica bootstrap to process snapshot by rows
       * Add support for composite rows in fio_batch
       * Fix iproto->sync in SUBSCRIBE command
      4cb7c9f5
  5. Mar 11, 2014
    • Konstantin Osipov's avatar
      gh-162, gh-163 Authentication and access control · 6e2cf75f
      Konstantin Osipov authored
      Add new system spaces _user and _priv to store users,
      their passwords and their privileges.
      Implement an authentication request in iproto protocol
      
      Add a system space _func to store presistent information
      about Lua functions. A function is now a subject
      to ownership and privilege control.
      
      Use MySQL-style sha1-double-hashing authentication by default.
      
      Implement new Lua functions:
      
      box.session.su()
      box.session.uid()
      box.schema.user.create()
      box.schema.user.drop()
      box.schema.user.grant()
      box.schema.user.revoke()
      box.schema.func.create()
      box.schema.func.drop()
      
      Store space creator in space definition.
      
      What this patch doesn't implement:
      
      - privilege checks in replication
      - authentication of replication slaves
      - exhaustive test coverage
      6e2cf75f
  6. Feb 20, 2014
    • Konstantin Osipov's avatar
      Remove replication_port · 9dadc3da
      Konstantin Osipov authored
      Marshall replication using the primary port.
      
      Split iproto requests into two categories: DML and admin.  Change
      PING request code to 64, to lay within admin request range.
      Perform administrative requests synchronously, without pushing
      them into an event queue.
      Add a new administrative request, IPROTO_SUBSCRIBE.
      
      Use dynamic memory for struct iproto_request. Introduce memory
      management.
      
      Remove replication_port from the configuration file and
      update tests.
      
      Fix the test runner so that it correctly generates
      replication_source to point to the primary port.
      Add variable arguments to IllegalParams.
      Move replia-related recovery methods to a new header, replica.h.
      
      Remove a debug printout from box.net.lua
      
      Update tests.
      9dadc3da
  7. Feb 12, 2014
    • Roman Tsisyk's avatar
      Explicitly use thread-local buffer for C++ exceptions · 250d031a
      Roman Tsisyk authored
      This patch explicitly saves Exception to a thread-local variable inside
      struct cord on tnt_raise(). This variable can be used to safetly
      re-throw last exception from any place (not only from catch() block).
      This technique requires exception to be thrown and catched by pointers.
      tnt_raise macros was rewritten and all 'catch (Exception &)' blocks were
      substituted with 'catch (Exception *e)'.
      
      This patch also adds a new feature to box.raise() function.
      When called without arguments box.raise() re-throws last exception (if
      any).
      
      These changes needed to implement proper handlings of exception for FFI
      calls.
      250d031a
  8. Feb 07, 2014
  9. Feb 04, 2014
  10. Feb 03, 2014
    • Konstantin Osipov's avatar
      Implement #! (aka hashbang, aka shebang) (gh-184) · 50b2a848
      Konstantin Osipov authored
      Allow start of tarnatool_box in #! form.
      
      Remove script_dir.
      
      Make all configuration options optional (primary_port
      was the last one required).
      Make the configuration file itself optional.
      
      If no watcher is started for the event loop, either based on
      the config file settings, or in the #! script, do not start the event loop.
      
      Update the test runner to take the new changes into account.
      
      Fix a bug in symbols_load() when no symbols
      could be loaded when path to executable was neither
      relative nor absolute (but based on PATH).
      
      Fix a bug with ignored return value of slab_arena_create()
      in tuple.cc
      50b2a848
  11. Jan 31, 2014
  12. Jan 26, 2014
  13. Jan 17, 2014
  14. Jan 15, 2014
  15. Jan 10, 2014
  16. Jan 08, 2014
  17. Jan 05, 2014
    • Konstantin Osipov's avatar
      Change server reponse format to MessagePack. · b28f8909
      Konstantin Osipov authored
      Update the protoco spec in doc/box-protocol.txt.
      Update box.net.box with a bunch of hacks.
      Update the python driver.
      
      Remove support for flags variable (BOX_RETURN_TUPLE).
      It was not tested anywhere! (-> kill)
      
      Implemeng Lua msgpack.next() to support streamed processing.
      Add tests.
      
      Fix a bug with messed up aliases of msgpack.dumps() pointing
      to encode() and loads() pointing to decode() (should be vice versa).
      b28f8909
  18. Jan 03, 2014
  19. Dec 25, 2013
  20. Dec 23, 2013
  21. Oct 04, 2013
  22. Sep 27, 2013
  23. Sep 24, 2013
  24. Sep 20, 2013
  25. Sep 19, 2013
  26. Jul 16, 2013
    • Roman Tsisyk's avatar
      Extract request creation procedure from box_process · 96e94406
      Roman Tsisyk authored
       * Parse request type inside of request_create
       * Remove palloc from request_create
       * Replace request_execute with a fun pointer in struct request
       * Refactor box_process API to accept struct request *
       * Create requests directly in iproto.cc and box_lua.cc
       * Update memcached, recovery and other parts to use new API
      96e94406
  27. Jul 02, 2013
    • Konstantin Osipov's avatar
      Small object allocator · a51f8734
      Konstantin Osipov authored
      The allocator consists of a common slab cache, region and slab
      allocators.
      The patch provides unit tests.
      
      It also modifies rlist_shift to be more in line with the
      rest of rlist functions.
      a51f8734
  28. Jul 01, 2013
    • Konstantin Osipov's avatar
      Refactoring: prepare for addition of tuple formats. · b42c8ee0
      Konstantin Osipov authored
      Extract the remaining places which access tuple->data
      directly into tuple_to_port.cc file, which will have full
      access to all tuple formats and all destinations to which
      a tuple may need to be converted.
      
      In this file it'll be possible to perform a conversion
      efficiently, at the same time, it will be the only place
      of cross-dependency between all tuple formats and all
      conversion destinations.
      b42c8ee0
  29. Jun 26, 2013
  30. Jun 11, 2013
  31. Jun 07, 2013
  32. Jun 06, 2013
  33. Jun 05, 2013
  34. Jun 04, 2013
  35. Jun 03, 2013
  36. Apr 22, 2013
Loading