Skip to content
Snippets Groups Projects
  1. Mar 05, 2020
    • Serge Petrenko's avatar
      build: link bundled libcurl with c-ares · 254e42ce
      Serge Petrenko authored
      libcurl has a built-in threaded resolver used for asynchronous DNS
      requests, however, when DNS server is slow to respond, the request still
      hangs tarantool until it is finished. The reason is that curl calls
      thread_join on the resolving thread internally upon timeout, making the
      calling thread hang until resolution has ended.
      Use c-ares as an asynchronous resolver instead to eliminate the problem.
      
      Closes #4591
      
      (cherry picked from commit 23837076)
      254e42ce
  2. Aug 27, 2019
  3. Aug 21, 2019
    • Mergen Imeev's avatar
      build: link libcurl statically from a submodule · 5fcca9dd
      Mergen Imeev authored
      Hold libcurl-7.65.3. This version is not affected by the following
      issues:
      
      * #4180 ('httpc: redirects are broken with libcurl-7.30 and older');
      * #4389 ('libcurl memory leak');
      * #4397 ('HTTPS seem to be unstable').
      
      After this patch libcurl will be statically linked when
      ENABLE_BUNDLED_LIBCURL option is set. This option is set by default.
      
      Closes #4318
      
      @TarantoolBot document
      Title: Tarantool dependency list was changed
      
      * Added build dependencies: autoconf, automake, libtool, zlib-devel
        (zlib1g-dev on Debian).
      * Added runtime dependencies: zlib (zlib1g on Debian).
      * Removed build dependencies: libcurl-devel (libcurl4-openssl-dev on
        Debian).
      * Removed runtime dependencies: curl.
      
      The reason is that now we use compiled-in libcurl: so we don't depend on
      a system libcurl, but inherit its dependencies.
      
      (cherry picked from commit 7e51aebb)
      5fcca9dd
  4. Jul 25, 2019
  5. Jul 24, 2019
  6. Jun 16, 2019
  7. Jun 13, 2019
    • Serge Petrenko's avatar
      lib/core: introduce decimal type to tarantool · 6d62c6c1
      Serge Petrenko authored
      Add fixed-point decimal type to tarantool core.
      Adapt decNumber floating-point decimal library for the purpose, write a
      small wrapper and add unit tests.
      
      A new decimal type is an alias for decNumber numbers from the decNumber
      library.
      Arithmetic operations (+, -, *, /) and some mathematic functions
      (ln, log10, exp, pow, sqrt) are available together with methods to
      pack and unpack decimal to and from its packed representation (useful
      for serialization).
      
      We introduce a single context for all the arithmetic operations
      on decimals, which enforces both number precision and scale to be
      in range [0, 38]. NaNs and Infinities are restricted.
      
      Part of #692
      6d62c6c1
  8. Jul 14, 2017
    • Roman Tsisyk's avatar
      Add minimal viable package manager based on LuaRocks · 9e7c4217
      Roman Tsisyk authored
      Usage:
      
          tarantoolctl rocks install ROCK - install a rock
          tarantoolctl rocks remove ROCK - remove a rock
          tarantoolctl rocks show ROCK - show information about an installed rock
          tarantoolctl rocks search PATTERN - search repository for rocks
          tarantoolctl rocks list - list all installed rocks
      
      There are no other commands, options, configuration files. Our official
      repository (http://rocks.tarantool.org) works out of the box. All rocks
      are installed to ${PWD}/.rocks directory to support separate rocks trees
      per project, as proposed by #2067. Rockspec can use "tarantool >= 1.7.x"
      inside dependencies = {} block to depend on a specific Tarantool version.
      
      LuaRocks has been slightly hacked to support custom configuration
      via site_config.lua. There are no other changes in the upstream code.
      It is not a fork and it isn't going to be a fork. All formats, layouts
      and rockspecs are 100% compatible with the upstream LuaRocks 2017-07-10.
      
      This feature intentionally doesn't have CMake option to disable it,
      because it should be provided on all available platforms out of the box.
      
      Other changes:
      
       * Add ${PWD}/.rocks to default package.path/package.cpath
       * Hack tarantoolctl to display subcommands in --help.
         Currently command line arguments handling are not perfect, but
         it can be fixed only by a new argparse implementation.
      
      Closes #2067
      9e7c4217
  9. Feb 15, 2017
    • Roman Tsisyk's avatar
      Remove Sophia from 1.6 · 5336dbf6
      Roman Tsisyk authored
      Sophia was an experimental storage engine in 1.6.x.
      Please use 'vinyl' engine in Tarantool 1.7 instead.
      
      Closes #2040
      5336dbf6
  10. Sep 29, 2016
  11. Aug 15, 2016
  12. Jul 04, 2016
  13. Apr 28, 2016
  14. Apr 27, 2016
  15. Apr 26, 2016
  16. Apr 22, 2016
  17. Feb 08, 2016
  18. Feb 03, 2016
  19. Dec 28, 2015
  20. Dec 24, 2015
  21. Dec 22, 2015
  22. Oct 21, 2015
  23. Aug 26, 2015
    • 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
  24. Apr 22, 2015
  25. Jan 22, 2015
  26. Aug 27, 2014
  27. Aug 26, 2014
    • Roman Tsisyk's avatar
      Refactor msgpack, yaml, cjson to use common code base · 5a7d8b07
      Roman Tsisyk authored
      Major changes:
      
       - All common logic and code from all serializes replaced by
         luaL_field/luaL_serializer functions
       - All features and methods were unified
       - cdata support added to JSON
       - ffi's .NULL added to JSON
       - .cfg{} method added to MsgPack, YAML and JSON
       - .new() method added to MsgPack and YAML
       - NaN and Inf checks ported from JSON
       - array vs map detection logic ported from JSON
       - support for __serialize hint added for table/cdata/userdata
       - _serializer_compact and _serializer_type superseded by __serialize
       - 64-bit integers encoding/decoding fixed in JSON and YAML
       - floating point encoding/decoding fixed in YAML
       - JSON was converted from submodule
       - New TAP-based tests added for MsgPack, MsgPackFFI, YAML, JSON
      5a7d8b07
  28. Jul 30, 2014
  29. Apr 11, 2014
  30. Mar 11, 2014
  31. Feb 19, 2014
  32. Feb 10, 2014
  33. Dec 02, 2013
  34. Nov 14, 2013
Loading