Skip to content
Snippets Groups Projects
  1. Feb 07, 2014
    • Konstantin Osipov's avatar
    • Eugine Blikh's avatar
      Minor class movements and cleanups · 6cb46287
      Eugine Blikh authored
      6cb46287
    • Eugine Blikh's avatar
      Create new version of tarantool_python.py with new TarantoolServer: · e83cc72f
      Eugine Blikh authored
      Important changes:
        * lua_libs are now copy from TarantoolServer (if you need, e.g.,
          to copy .lua or .xlog file when you starts server you may
          simply add it to server.lua_libs variable, and in the end
          simply delete it)
        * server now stops on random ports, for your convinience, when you
          `--start-and-exit` test-system - it shows on what port it starts
        * when you want to create a server, that is replica of some other
          server, you must do something like `replica.rpl_master = master`,
          then all will be ok. if hot_standby, then
          `hot_standby.hot_master = master`. when you stop working with it:
          `replica.rpl_master = None`..
        * new option: server.shebang is used for running scripts, no need
          to spoil server.binary now.
        * for config, init_lua and other options now there are decoreators.
          you may use relative paths now.
      
      Other:
        * Some tests were rewritten for new TarantoolServer
        * Add `environment variables` for lua tests, possible to send it to
          server.
        * add rpl_master and hot_master for server directives in lua_tests
          (better idea, it seems, to move all `replication/` tests to python)
      
      Some issues:
        * --valgrind:
          1. `chase_cuOff: no entry for 0x07422`... It garbages output.
          2. If you redeploy server then valgrind log is overwritten.
             Possible solutions:
               a) `valgrind_disable` this tests.
               b) Append logfile with temporary logfiles.
          3. Some memory leaks: need to be fixed.
        * --gdb: some minor code problems, all works, but tests, that
          crashes server won't work (new system of knowing that server
          is up)
        * Need of minor(!!) cleanup
      e83cc72f
  2. Feb 06, 2014
  3. Feb 05, 2014
  4. Feb 04, 2014
  5. 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
    • Roman Tsisyk's avatar
      Optimize Lua/C bindings for box · 052c147b
      Roman Tsisyk authored
      This patch add specialized versions of box.process for select, insert,
      replace, update and delete requests. This optimization reduces the
      number of Lua <-> C switches during request processing. New functions
      create struct request directly without allocating temporary buffer for
      entire request body.
      052c147b
  6. Jan 31, 2014
  7. Jan 30, 2014
  8. Jan 29, 2014
  9. Jan 28, 2014
  10. Jan 27, 2014
  11. Jan 26, 2014
Loading