Skip to content
Snippets Groups Projects
  1. Feb 13, 2023
    • Georgiy Lebedev's avatar
      static-build: fix potential NULL dereference in openssl · 20f54f79
      Georgiy Lebedev authored
      `set_client_ciphersuite` can potentially dereference NULL if the session's
      cipher is not set — add a check for this condition.
      
      Closes tarantool/security#27
      
      NO_CHANGELOG=<security fix>
      NO_DOC=<security fix>
      NO_TEST=<third-party security fix>
      
      (cherry picked from commit a8c6c27c)
      20f54f79
    • Serge Petrenko's avatar
      core: check event loop creation in fiber_init() · 5cc3d46d
      Serge Petrenko authored
      The main cord's event loop is initialized by fiber_init(), but for some
      reason successful initialization is only checked in main() after other
      initialization code might try to use the event loop already.
      
      For example, some of the loop users are coio_enable(), signal_init(),
      tarantooL_lua_init(), and they are all run before we actually check that
      loop is not NULL.
      
      Closes tarantool/security#28
      
      NO_DOC=code health
      NO_TEST=code health
      NO_CHANGELOG=code health
      
      (cherry picked from commit 579ac6d3)
      5cc3d46d
    • Mergen Imeev's avatar
      box: replace malloc with xmalloc in key_def_dup · 3b793842
      Mergen Imeev authored
      This patch replaces malloc() with xmalloc() in key_def_dup() to avoid
      the possibility of skipping the malloc() return value check.
      
      Closes tarantool/security#81
      
      NO_DOC=refactoring
      NO_TEST=refactoring
      NO_CHANGELOG=refactoring
      
      (cherry picked from commit 8ca94313)
      3b793842
    • Vladimir Davydov's avatar
      static-build: don't use cat to apply multiple patches · 65f0a828
      Vladimir Davydov authored
      The problem is if cat fails, because a patch file doesn't exist
      PATH_COMMAND written like this won't detect it, because the last
      command (patch) will complete successfully (apply existing patches
      found by cat):
      
        cat XXX.patch YYY.patch | patch -p1
      
      The proper way is to use PATCH_COMMAND continuation:
      
        PATCH_COMMAND patch -p1 -i XXX.patch
        COMMAND       patch -p1 -i YYY.patch
      
      NO_DOC=build
      NO_TEST=build
      NO_CHANGELOG=build
      
      (cherry picked from commit 9549310d)
      65f0a828
  2. Feb 10, 2023
    • Yaroslav Lobankov's avatar
      ci: add more testing for macOS 12 and 13 · 0d32ad55
      Yaroslav Lobankov authored
      - Drop testing for macOS 11 since macOS 13 is now available
      
      - Add missing testing for macOS 12:
        - debug build (x86_64)
        - debug, release, and static-cmake builds (aarch64)
      
      - Add testing for macOS 13:
        - debug, release, release-lto, and static-cmake builds (x86_64)
        - debug, release, release-lto, and static-cmake builds (aarch64)
      
      Closes #6739
      Closes tarantool/tarantool-qa#301
      
      NO_DOC=ci
      NO_TEST=ci
      NO_CHANGELOG=ci
      
      (cherry picked from commit a13504d8)
      0d32ad55
    • Pavel Balaev's avatar
      static-build: fix potential NULL deref in openssl · f4b96c18
      Pavel Balaev authored
      tls_construct_ctos_session_ticket() has a potential
      NULL pointer dereference.
      
      Closes tarantool/security#54
      
      NO_DOC=security
      NO_TEST=security
      NO_CHANGELOG=security
      
      (cherry picked from commit 639ec224)
      f4b96c18
    • Andrey Saranchin's avatar
      memtx: fix potential NULL dereference in memtx_space_ephemeral_delete · 3b416afa
      Andrey Saranchin authored
      Now, delete in ephemeral space is obviously incorrect - if we try to
      delete a tuple, which is not present in index, NULL dereference will
      happen. Fortunately, ephemeral spaces are used for internal purposes
      only, so, most likely, this never happens. Let's fix this part not to
      confuse code analyzers.
      
      Closes https://github.com/tarantool/security/issues/38
      
      NO_TEST=shouldn't normally happen
      NO_CHANGELOG=shouldn't normally happen
      NO_DOC=shouldn't normally happen
      
      (cherry picked from commit a2d5e54e)
      3b416afa
    • psergee's avatar
      icu: fix potential out-of-bounds access · e541027f
      psergee authored
      Added bounds check after conversion of a string key to int to avoid
      potential out-of-bounds access.
      
      Closes tarantool/security#45
      
      NO_TEST=trivial
      NO_CHANGELOG=internal
      NO_DOC=internal
      
      (cherry picked from commit 66f2679d)
      e541027f
    • Vladimir Davydov's avatar
      ci: run static-build workflows on 'static-build-ci' label · 14a7ecca
      Vladimir Davydov authored
      Sometimes, we only need to test static-build, e.g. when we apply a patch
      to a third party sub-project. Let's introduce a new label to run the ci
      checks faster in this case.
      
      NO_DOC=ci
      NO_TEST=ci
      NO_CHANGELOG=ci
      
      (cherry picked from commit 09a77cd7)
      14a7ecca
    • Vladimir Davydov's avatar
      static-build: move all patches to patches sub-directory · a54cbfca
      Vladimir Davydov authored
      We're going to add a whole bunch of them. Putting them all in
      a sub-directory will help keeping the file tree organized.
      
      Note, we have to update .gitignore so that the patches/ sub-directory
      is ignored only at the top level (it's used by quilt).
      
      NO_DOC=build
      NO_TEST=build
      NO_CHANGELOG=build
      
      (cherry picked from commit b8ec809e)
      a54cbfca
  3. Feb 09, 2023
  4. Feb 08, 2023
    • Ilya Verbin's avatar
      log: fix flight-recording of json log messages · cddb72d4
      Ilya Verbin authored
      When log format is JSON and a Lua table is written to the log, such
      messages are saved by the flight recorder as a "json" string. Fix it.
      
      Part of tarantool/tarantool-ee#325
      
      NO_DOC=bugfix
      NO_TEST=will be added to EE, because there are no flightrec in CE
      NO_CHANGELOG=will be added to EE, because there are no flightrec in CE
      cddb72d4
  5. Feb 07, 2023
    • Georgiy Lebedev's avatar
      bitset: fix index size calculation · f44d7572
      Georgiy Lebedev authored
      Bitset index size calculation uses the cardinality of the 'flag' bitset,
      but when the bitset index is empty, i.e., uninitialized, the
      'flag' bitset is not allocated, hence we should simply return 0.
      
      Closes #5809
      
      NO_DOC=bugfix
      
      (cherry picked from commit d542a01a)
      f44d7572
  6. Feb 06, 2023
    • Oleg Chaplashkin's avatar
      test: fix import and usage luatest module · 2fb285ab
      Oleg Chaplashkin authored
      After adding the autorequiring luatest [1,2], there is no need to use
      the following approach now:
      
      ```
      local t = require('luatest')
      local g = t.group()
      
      server:exec(function()
          local t = require('luatest') -- duplicate
          t.assert(...)
      end)
      ```
      
      Modern approach looks like:
      
      ```
      local t = require('luatest')
      local g = t.group()
      
      -- `t` already available in the remote server
      server:exec(function() t.assert(...) end)
      
      -- also it works with any variable
      local my_custom_t = require('luatest')
      
      server:exec(function()
          my_custom_t.assert(...) -- already available
      end)
      ```
      
      [1] tarantool/luatest#277
      [2] tarantool/luatest#289
      
      Part of tarantool/luatest#233
      
      NO_DOC=test fix
      NO_TEST=test fix
      NO_CHANGELOG=test fix
      
      (cherry picked from commit 98dd8e69)
      2fb285ab
    • Nikita Zheleztsov's avatar
      datetime: fix precision overflow · 268de969
      Nikita Zheleztsov authored
      We didn't take into consideration the fact, that precision
      value passed to control the width of nanoseconds part in
      datetime_object:format could be more than maximum positive
      value, integer may have. Currently it leads to segfault.
      
      ```
      tarantool> require('datetime').new{}:format('%2147483648f')
      ```
      
      We should check errno in order to find out, if overflow
      occurs. The problem is the fact, that `width` variable must
      have int type due to snprintf requirements ("%*d") and
      strtol returns long. Errno won't be set if returned value
      is in bounds [INT_MAX, LONG_MAX], but it will overflow
      int resulting in inconsistent behavior.
      
      So, let's save the result of strotl to the temp value.
      If this value doesn't belong to the above-mentioned set,
      or errno was set, we assign to `width` maximum value, it
      may have: 9.
      
      Closes tarantool/security#31
      
      NO_DOC=bugfix
      
      (cherry picked from commit b6159217)
      268de969
    • Mergen Imeev's avatar
      sql: add missing malloc failure handling · 95c8637a
      Mergen Imeev authored
      This patch fixes some possible bugs that may occur due to malloc
      failure.
      
      Closes tarantool/security#65
      Closes tarantool/security#66
      Closes tarantool/security#68
      
      NO_DOC=bugfix
      NO_TEST=hard to reproduce due to malloc() failure being an unusual case
      95c8637a
  7. Feb 03, 2023
  8. Feb 02, 2023
    • Yaroslav Lobankov's avatar
      test: bump test-run to version w/ updated luatest · 25975a58
      Yaroslav Lobankov authored
      Bump test-run to new version with the following improvements:
      
      - Bump luatest to 0.5.7-25-g9e117e6 [1]
      
      [1] tarantool/test-run@7c77fcb
      
      NO_DOC=testing stuff
      NO_TEST=testing stuff
      NO_CHANGELOG=testing stuff
      
      (cherry picked from commit 4334862f)
      Unverified
      25975a58
    • Vladimir Davydov's avatar
      test: bump test-run to version w/ updated luatest · aaf8f154
      Vladimir Davydov authored
      Bump test-run to new version with the following improvements:
      
      - Bump luatest to 0.5.7-24-g8de38b3 [1] [2]
      - Add ignore_zero option to get_vclock [3]
      
      [1] https://github.com/tarantool/test-run/pull/370
      [2] https://github.com/tarantool/test-run/pull/368
      [3] https://github.com/tarantool/test-run/pull/367
      
      NO_DOC=testing stuff
      NO_TEST=testing stuff
      NO_CHANGELOG=testing stuff
      
      (cherry picked from commit 764299c1)
      Unverified
      aaf8f154
    • Igor Munkin's avatar
      ci: use CMAKE_EXTRA_PARAMS in LuaJIT workflow · 235e45ea
      Igor Munkin authored
      
      As a result of the commit 98fcd437 ("ci:
      add CMAKE_EXTRA_PARAMS to LuaJIT workflow") both <inputs.buildtype> and
      <inputs.GC64> parameters have become obsolete. All jobs with LuaJIT
      integration testing has started to use these in scope of the commit
      tarantool/luajit@5b53850da30e532ced976e95af1f301667a6a272 ("ci: use
      CMAKE_EXTRA_PARAMS in LuaJIT integration"). Hence, the value of
      <inputs.CMAKE_EXTRA_PARAMS> has to be used to specify the build flavor,
      so <inputs.buildtype> and <inputs.GC64> can be dropped later.
      
      NO_DOC=ci
      NO_TEST=ci
      NO_CHANGELOG=ci
      
      Reviewed-by: default avatarYaroslav Lobankov <y.lobankov@tarantool.org>
      Signed-off-by: default avatarIgor Munkin <imun@tarantool.org>
      (cherry picked from commit 7c5cc681)
      Unverified
      235e45ea
    • Igor Munkin's avatar
      ci: remove host parameter from LuaJIT testing · 294a55cb
      Igor Munkin authored
      
      As a result of the commit 1eb0a696 ("ci:
      change runner dispatch for LuaJIT testing") <inputs.host> parameter has
      become obsolete. The testing workflow has been updated in scope of the
      commit tarantool/luajit@fcaecf8fb42ff8a35582fbd8d034eb6f3b9b5b68 ("ci:
      use strategy matrix for integration workflow"). Hence, the only changes
      required to finish the transition from <inputs.host> to <inputs.arch> +
      <inputs.os> are the following:
      * Drop <inputs.host> parameter from the LuaJIT integration workflow
      * Make both <inputs.arch> and <inputs.os> parameters obligatory
      
      Besides, there is no need to obtain the kernel name and the machine
      hardware name in scope of the separate workflow step, since all info
      need to be passed to .test.mk is already passed via workflow inputs.
      Anyway, .test.mk need to be adjusted to the values used for the new
      workflow parameters.
      
      NO_DOC=ci
      NO_TEST=ci
      NO_CHANGELOG=ci
      
      Reviewed-by: default avatarYaroslav Lobankov <y.lobankov@tarantool.org>
      Signed-off-by: default avatarIgor Munkin <imun@tarantool.org>
      (cherry picked from commit fdf45222)
      Unverified
      294a55cb
    • Igor Munkin's avatar
      ci: change runner dispatch for LuaJIT testing · 78c59ad4
      Igor Munkin authored
      
      Before the patch the LuaJIT integration workflow was dispatched to the
      runner with the name given via <inputs.host> parameter. Unfortunately,
      as a result of runners renaming we can't continue to dispatch the
      workflow this way.
      
      As a result of the patch there are two new workflow parameters:
      <inputs.arch> to pass the host architecture name (i.e. x86_64 or ARM64)
      and <inputs.os> to pass the OS family name (either Linux or macOS).
      Considering two values we can choose the proper runner in LuaJIT
      integration workflow. Besides, this change bring LuaJIT CI closer to
      matrix usage for its integration workflow.
      
      All three workflow parameters are not obligatory for now to avoid
      tarantool/luajit CI break on both long-term and working branches. When
      all branches are rebased on the new approach, <inputs.host> parameter
      will be removed and both <inputs.arch> and <inputs.os> will become
      obligatory.
      
      Moreover, the new 'regular' label is also added to <runs-on> list, since
      the new "lightweight" runners have been introduced to ghacts-shared-*
      pool. There are a couple of LuaJIT tests that requires more memory than
      provided by "lightweight" runners, so only "regular" ones need to be
      chosen for LuaJIT integration testing.
      
      Last but not least: attentive reader might notice there are strange
      values used as a default for <inputs.host> as well as <inputs.arch> and
      <inputs.os>. This is ugly hack required for the transition period, since
      one can't use empty string or unknown label name within <runs-on> label
      list. Hence 'self-hosted' looks like the most robust option for both old
      and new behaviours.
      
      NO_DOC=ci
      NO_TEST=ci
      NO_CHANGELOG=ci
      
      Reviewed-by: default avatarYaroslav Lobankov <y.lobankov@tarantool.org>
      Signed-off-by: default avatarIgor Munkin <imun@tarantool.org>
      (cherry picked from commit 1eb0a696)
      Unverified
      78c59ad4
    • Igor Munkin's avatar
      ci: add 'self-hosted' tag to runs-on section · 67b090be
      Igor Munkin authored
      
      Fun fact: our self-hosted macOS runner has the same name as the one
      provided by GitHub. Hence sometimes when no self-hosted runners are
      available, the public GitHub one is chosen.
      
      This patch enforces LuaJIT integration workflow to use only self-hosted
      runner by explicitly specifying this in runs-on section.
      
      NO_DOC=ci
      NO_TEST=ci
      NO_CHANGELOG=ci
      
      Reviewed-by: default avatarYaroslav Lobankov <y.lobankov@tarantool.org>
      Signed-off-by: default avatarIgor Munkin <imun@tarantool.org>
      (cherry picked from commit a8b95d09)
      Unverified
      67b090be
    • Igor Munkin's avatar
      ci: add CMAKE_EXTRA_PARAMS to LuaJIT workflow · e8271b04
      Igor Munkin authored
      
      It's quite inconvenient to extend LuaJIT integration workflow now: one
      needs to patch GitHub workflow file in Tarantool repository and then
      setup integration testing in LuaJIT repository.
      
      This patch introduces a new workflow parameter that can replace several
      existing parameters (e.g. buildtype and GC64) and allow to easy extend
      integration CI in LuaJIT (with rare little touches in Tarantool).
      
      NO_DOC=ci
      NO_TEST=ci
      NO_CHANGELOG=ci
      
      Reviewed-by: default avatarSergey Kaplun <skaplun@tarantool.org>
      Reviewed-by: default avatarYaroslav Lobankov <y.lobankov@tarantool.org>
      Signed-off-by: default avatarIgor Munkin <imun@tarantool.org>
      (cherry picked from commit 98fcd437)
      Unverified
      e8271b04
    • Serge Petrenko's avatar
      raft: fix box.ctl.promote() hanging when cannot gather a quorum · b1128c04
      Serge Petrenko authored
      Fixing a bug with nodes in 'manual' election mode bumping the term
      excessively revealed a hang in election_pre_vote test. Turns out the
      test passed thanks to the previous buggy behaviour.
      
      The following behaviour is expected: when a node is configured in manual
      election mode, calling box.ctl.promote() on it should make it bump term
      once, try to gather votes and fail on timeout.
      
      Once the extra term bump on timeout was removed in commit 5765fdc4
      ("raft: fix 'manual' nodes bumping the term excessively"),
      box.ctl.promote() without a quorum started hanging.
      
      Let's return the correct behaviour: 'manual' nodes should transition
      back to follower if an election timeout passes after the promotion
      without any term outcome.
      
      Enable the test_promote_no_quorum testcase of election_pre_vote test
      back, since it's fixed now.
      
      Follow-up #8168
      Closes #8217
      
      NO_DOC=bugfix
      NO_CHANGELOG=changes not released behaviour
      
      (cherry picked from commit 352fe0c7)
      b1128c04
  9. Jan 31, 2023
  10. Jan 30, 2023
    • Vladislav Shpilevoy's avatar
      xrow: fix bar new field update crash · 590dd887
      Vladislav Shpilevoy authored
      A tuple update with the first operation creating a new field
      somewhere deep in the tuple and the second operation trying to go
      into that new field could crash. This happened because the route
      branching function xrow_update_route_branch() missed this case.
      
      It can be detected when see that the bar path is already fully
      used (the next JSON token is END), and the new operation's path
      is still not END.
      
      Closes #8216
      
      NO_DOC=bugfix
      
      (cherry picked from commit d4e92809)
      590dd887
    • Vladislav Shpilevoy's avatar
      xrow: fix array new field update crash · c19c8d52
      Vladislav Shpilevoy authored
      A tuple update with the first operation creating a new field
      inside an array and the second operation trying to go into that
      field could crash. This happened because the branching function
      xrow_update_op_do_field_##op_type() didn't take into account newly
      set scalar fields and an `unreachable()` was hit.
      
      Part of #8216
      
      NO_DOC=bugfix
      NO_CHANGELOG=next commit
      
      (cherry picked from commit eb26e732)
      c19c8d52
    • Vladislav Shpilevoy's avatar
      xrow: move xrow_update_err helpers higher · 8acd4351
      Vladislav Shpilevoy authored
      They are going to be needed above their declaration prior to this
      patch. Also had to add a couple of obvious comments to calm
      checkpatch down.
      
      Needed for #8216
      
      NO_DOC=refactoring
      NO_TEST=refactoring
      NO_CHANGELOG=refactoring
      
      (cherry picked from commit 3260b930)
      8acd4351
    • Yaroslav Lobankov's avatar
      ci: fix alpine workflows for fork pull requests · 302869d4
      Yaroslav Lobankov authored
      Generate a test build key when the ALPINE_BUILD_KEY secret is empty.
      It is needed for fork PRs where secrets are unavailable.
      
      NO_DOC=ci
      NO_TEST=ci
      NO_CHANGELOG=ci
      
      (cherry picked from commit a7b9ed4f)
      Unverified
      302869d4
    • Georgiy Lebedev's avatar
      applier: fix isolation level of applied transactions · 3a6e1c48
      Georgiy Lebedev authored
      Since applied transactions are committed asynchronously, they are
      inherently 'read committed', hence their isolation level should be adjusted
      accordingly.
      
      Closes #8121
      
      NO_DOC=bugfix
      
      (cherry picked from commit 7c12d490)
      3a6e1c48
  11. Jan 27, 2023
    • Georgiy Lebedev's avatar
      memtx: fix rollback of prepared statements deleting MVCC stories · 46340d0f
      Georgiy Lebedev authored
      When we rollback a prepared statement that deletes an MVCC story, we need
      to reset the deleted story's PSN.
      
      Closes #7930
      
      NO_DOC=bugfix
      
      (cherry picked from commit de938a6f)
      46340d0f
    • Georgiy Lebedev's avatar
      box: do not reassign PSN to prepared transactions during rollback · f9d24d6b
      Georgiy Lebedev authored
      During transaction rollback, we unconditionally assign a PSN to it: we
      should do this only when necessary, i.e., a transaction is RW and is not
      already prepared.
      
      Needed for #7930
      
      NO_CHANGELOG=refactoring
      NO_DOC=refactoring
      NO_TEST=refactoring
      
      (cherry picked from commit 494fe087)
      f9d24d6b
    • Georgiy Lebedev's avatar
      box: reset transaction's PSN if transaction preparation fails · d64c75fd
      Georgiy Lebedev authored
      Currently, if transaction preparation fails, the transaction is left in an
      inconsistent state: it has a PSN assigned to it, but its status is not
      'prepared' — fix this by resetting its PSN.
      
      Needed for #7930
      
      NO_CHANGELOG=refactoring
      NO_DOC=refactoring
      NO_TEST=refactoring
      
      (cherry picked from commit c329e703)
      d64c75fd
    • Georgiy Lebedev's avatar
      memtx: fix definition of old story in MVCC insert statement preparation · 5266d015
      Georgiy Lebedev authored
      During preparation of insert statements in MVCC, we define an old story and
      abort all transactions that delete this story.
      
      If there exists an older
      story in the history chain, but the story is deleted by a prepared (not
      necessarily committed) transaction, we consider that it de-facto does not
      exist anymore — this logic is consistent, since during preparation of the
      transaction deleting this story, the conflict resolution described above
      was already done.
      
      In this manner, there can be no more than one prepared statement deleting
      a story at any point in time.
      
      Closes #8104
      
      NO_DOC=bugfix
      
      (cherry picked from commit d7cf6f60)
      5266d015
    • Oleg Chaplashkin's avatar
      test: fix the use of `before_all/after_all` hooks · 392cd1e7
      Oleg Chaplashkin authored
      Changed the work with hooks in the part of tests.
      
      Legacy approach:
      
      ```
      g.before_all = function() ... end
      g.after_all = function() ... end
      ```
      
      The logic of executing hooks will be expected and
      more controlled if use following approach:
      
      ```
      g.before_all(function() ... end)
      g.after_all(function() ... end)
      ```
      
      Resolve #8066
      
      NO_DOC=test fix
      NO_TEST=test fix
      NO_CHANGELOG=test fix
      
      (cherry picked from commit ed136255)
      Unverified
      392cd1e7
  12. Jan 26, 2023
    • Sergey Vorontsov's avatar
      ci: add workflow to build Alpine packages · 13551db0
      Sergey Vorontsov authored
      Add building Alpine 3.16 packages for amd64 and aarch64.
      
      Part of tarantool/tarantool-qa#266
      
      NO_DOC=ci
      NO_TEST=ci
      
      (cherry picked from commit 9a11ed4a)
      Unverified
      13551db0
    • Sergey Vorontsov's avatar
      ci: fix building Alpine packages · 551d7174
      Sergey Vorontsov authored
      * Update build-time and run-time dependencies.
      
      * Support build with gc64 enabled.
      
      * Disable sysprof due to the following error while building:
      
      NO_WRAP
        ```
        <...>/third_party/luajit/src/lj_sysprof.c:29:10: fatal error: execinfo.h: No such file or directory
          29 | #include <execinfo.h>
             |
        ```
      NO_WRAP
      
      * Update .pack.mk to set package version in the case of a git tag to the
        following format:
      
          2.11.0[_<release type>]
      
        Where `<release type>` is `alpha1`, `beta1`, `rc1`, etc.
        Note, we have an extra logic when the git tag is `x.x.x-entrypoint`.
        Alpine build system doesn't support package name with such kind of
        version and that's why we use `alpha0` instead of `entrypoint`.
        See for details [1].
      
      * Update .pack.mk to set package version in the other cases to the
        following format:
      
          2.11.0_<release type>_p<N>
      
        Where `<release type>` is `alpha1`, `beta1`, `rc1`, etc and `<N>` is
        the patch number after the latest release. Unfortunately, we cannot
        use the similar version pattern that we use for dev DEB/RPM packages
        (`2.11.0_<release type>.<N>.dev`) because Alpine build system doesn't
        support it. Plus, we have the same logic for `entrypoint` here.
        See for details [1].
      
      [1] https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#pkgver
      
      Part of tarantool/tarantool-qa#266
      
      NO_DOC=ci
      NO_TEST=ci
      NO_CHANGELOG=ci
      
      (cherry picked from commit 407a4d7f)
      Unverified
      551d7174
    • Serge Petrenko's avatar
      test: partially disable election_pre_vote test · 5dbd3f6d
      Serge Petrenko authored
      test_promote_no_quorum testcase in election_pre_vote test started flaky
      hanging after commit 5765fdc4 ("raft: fix 'manual' nodes bumping the
      term excessively").
      
      Disable it until the issue (#8217) is resolved.
      
      In-scope-of #8217
      
      NO_DOC=tests
      NO_CHANGELOG=tests
      
      (cherry picked from commit 3273a51d)
      Unverified
      5dbd3f6d
    • Sergey Ostanevich's avatar
      test: fix for gh_6036 test to avoid flakiness · 1af6ad13
      Sergey Ostanevich authored
      Promotion of a leader in the test requires previous leader state
      arrived to all replicas. Inconsistency may lead to promotion failure,
      which is correct from the raft point of view, but not expected by the
      test.
      
      Closes #7785
      
      NO_DOC=test
      NO_CHANGELOG=test
      
      (cherry picked from commit 895cb2d2)
      1af6ad13
Loading