Skip to content
Snippets Groups Projects
  1. Nov 15, 2023
  2. Nov 07, 2023
    • godzie44's avatar
      Part of #37 · 0c8a7484
      godzie44 authored and Konstantin D's avatar Konstantin D committed
      Add `current_cord_name` function to get a name of the current cord,
      add `cord_is_main_dont_create` function.
      Add exports for `cord_is_main`, `cord_is_main_dont_create` and
      `current_cord_name` functions.
      
      NO_DOC=internal
      NO_TEST=internal
      NO_CHANGELOG=internal
      2.11.0.91
      0c8a7484
    • godzie44's avatar
      Part of #37 · f980791e
      godzie44 authored and Konstantin D's avatar Konstantin D committed
      Add `log_default_logger` to get a default logger.
      Add exports for `log_set_format`, `log_set_level` and `log_default_logger` functions.
      
      NO_DOC=internal
      NO_TEST=internal
      NO_CHANGELOG=internal
      f980791e
  3. Nov 01, 2023
  4. Oct 30, 2023
  5. Oct 27, 2023
    • Georgy Moshkin's avatar
      fiber: basic api exports · 7b6484de
      Georgy Moshkin authored
      Closes #9237
      
      Add exports for fiber_set_name_n, fiber_name, fiber_id, fiber_csw &
      fiber_find.
      
      Also make fiber_set_joinable, fiber_set_ctx & fiber_get_ctx interpret
      NULL as the current fiber.
      
      @TarantoolBot document
      Title: add basic fiber api to ffi exports.
      
      5 basic functions can now be used via ffi api, which were previously
      only accessible via lua api: fiber_set_name_n, fiber_name, fiber_id,
      fiber_csw & fiber_find.
      
      fiber_set_joinable now interprets NULL as current fiber.
      2.11.0.69
      7b6484de
  6. Oct 19, 2023
  7. Oct 10, 2023
  8. Sep 28, 2023
  9. Sep 27, 2023
  10. Sep 22, 2023
  11. Sep 19, 2023
    • Denis Smirnov's avatar
      fix: auth API · 685ff5d4
      Denis Smirnov authored
      box_auth_data_prepare() method declared to return a tuple while in
      reality it returned a region allocated message pack string. Fixed.
      
      NO_DOC=picodata internal patch
      NO_CHANGELOG=picodata internal patch
      NO_TEST=picodata internal patch
      2.11.0.60
      685ff5d4
  12. Sep 15, 2023
    • Dmitry Ivanov's avatar
      fix(tests): Fix gh_7860_syslog_json_test broken due to memtx_sort_threads · 3451fc48
      Dmitry Ivanov authored
      test-run.py sets OMP_NUM_THREADS which causes this test to misbehave:
      it doesn't expect to see a warning regarding the use of this env var
      as the first log line.
      
      Alternatively, we could update test-run's submodule, but in practice
      this breaks other tests e.g. replication-luatest/linearizable_test.lua.
      
      NO_DOC=internal
      NO_TEST=internal
      NO_CHANGELOG=internal
      3451fc48
    • Ilya Verbin's avatar
      build: remove dependencies on libgomp · 8e4c859e
      Ilya Verbin authored and Dmitry Ivanov's avatar Dmitry Ivanov committed
      OpenMP is no longer used since commit 4f617b70 ("box: introduce
      memtx_sort_threads config parameter"). All dependencies on libgomp
      should be removed.
      
      Follow-up #7689
      
      NO_DOC=build
      NO_TEST=build
      8e4c859e
    • Nikolay Shirokovskiy's avatar
      box: introduce memtx_sort_threads config parameter · 1db965ba
      Nikolay Shirokovskiy authored and Dmitry Ivanov's avatar Dmitry Ivanov committed
      Closes #3389
      Closes #7689
      Closes #4646
      
      @TarantoolBot document
      Title: new box.cfg parameter memtx_sort_threads
      
      The parameter sets the number of threads used to sort keys of secondary
      indexes on loading memtx database. The parameter cannot be changed
      dynamically (as it does not make sense).
      
      Maximum value is 256, minimum is 1. Default is to use all available cores.
      
      Usage example:
      ```
      box.cfg{memtx_sort_threads=4}
      ```
      1db965ba
    • Nikolay Shirokovskiy's avatar
      core: introduce sample sort algorithm · 50d83931
      Nikolay Shirokovskiy authored and Dmitry Ivanov's avatar Dmitry Ivanov committed
      The algorithm runs sort in multiple threads and does not use OpenMP. It
      has better threads utilization right from the beginning but probably
      a worse constant than parallel qsort. See details in code comments.
      
      Besides sort is not performed in calling thread but instead in spawned
      worker threads. Calling thread yields waiting for worker threads to
      finish. Exception is small data size, in this case sorting is executed
      in calling thread saving time on spawning a thread. This should speed up
      test execution. This is existing behaviour of qsort_arg but data size
      threshold is reduced from 128000 to 1024.
      
      Part of #3389
      
      NO_CHANGELOG=internal
      NO_DOC=internal
      50d83931
    • Denis Smirnov's avatar
      feat: extend C box API with a new auth method · 8eb86462
      Denis Smirnov authored
      1. Current commit introduces 'box_auth_data_prepare()' to prepare
         a data string for any supported authentication methods.
      2. The user name argument is refactored in the auth methods: the
         null-terminated string is replaced with an address range approach.
         Now Rust users don't need to re-allocate username with CString.
      3. Password length type was set to uint32_t (previously it was size_t,
         int, uint32_t for different functions). Tarantool uses murmur3a,
         so all the hashed strings should be up to 32 bit long.
      
      NO_DOC=picodata internal patch
      NO_CHANGELOG=picodata internal patch
      NO_TEST=picodata internal patch
      2.11.0.55
      8eb86462
    • Дмитрий Кибирев's avatar
      fix(ci): compile error for macos · 00175194
      Дмитрий Кибирев authored and Yaroslav Dynnikov's avatar Yaroslav Dynnikov committed
      Add the temporary path for macos CI.
      
      NO_DOC=picodata internal patch
      NO_CHANGELOG=picodata internal patch
      NO_TEST=picodata internal patch
      00175194
Loading