Skip to content
Snippets Groups Projects
  1. Dec 27, 2024
  2. Dec 26, 2024
  3. Dec 25, 2024
    • Dmitry Rodionov's avatar
      test: setup logging in tests · e2de36ac
      Dmitry Rodionov authored
      Logs help to debug flaky tests. Because sometimes just by instance logs
      it is not that easy to guess what the test was doing at that time.
      Especially when there is a repetitive pattern in the test.
      
      For now instance logs and test output are printed in separate sections.
      It still allows to match events by time easier compared to looking only
      at instance log (it is way bigger compared to test log).
      
      Additionally this patch sets up a `framework` package intended to host
      reusable test code without polluting conftest.py
      e2de36ac
    • Egor Ivkov's avatar
      fix: flaky test_bootstrap_from_snapshot · fc739b7b
      Egor Ivkov authored and Егор Ивков's avatar Егор Ивков committed
      fc739b7b
    • Dmitry Rodionov's avatar
      fix: null was used instead of nil in proc sharding lua snippet · 5fe74577
      Dmitry Rodionov authored
      I found this by compiling tarantool with CMAKE_BUILD_TYPE=Debug
      5fe74577
    • Georgy Moshkin's avatar
      refactor: assert index is <= applied in compact_log instead of truncating · 0957624d
      Georgy Moshkin authored
      We used to automatically truncate the index in compact_log if the caller
      requested to compact too many entries. This made it so that the
      requirement of not compacting any un-applied entries was implicit in our
      code base, which is not good as it allows for some bugs to creep in
      (like the one we fix a couple commits ago).
      
      Now this is changed and instead of silently adjusting the index of last
      compacted entry, we just assert that it's no greater than the applied
      index. As a consequence there's a minor improvement in do_raft_log_auto_compaction
      function.
      0957624d
    • Georgy Moshkin's avatar
      test: fix CI=1 hack for local runs · 1161519a
      Georgy Moshkin authored
      1161519a
    • Georgy Moshkin's avatar
      fix: bug in raft snapshot application · e7c8582d
      Georgy Moshkin authored
      There was a hard-to-reproduce bug in our snapshot application code.
      We always compact the raft log before applying the snapshot, because
      the snapshot replaces the entries and some of the logic in raft-rs
      seems to rely on this. The problem was, that our compact_log function
      would not remove any unapplied entries, which makes sense for compaction
      triggered automatically by raft log size, but doesn't make sense for
      raft snapshot, as the snapshot contains the state corresponding to the
      newer entries. The fix is simple: don't guard from unapplied entry
      compaction in case the compaction is for raft snapshot.
      
      We don't add any regression tests for this, because the implementation
      would be too difficult and would need us to pollute the code with error
      injection logic, which is not a worthy trade off in this case. But also
      the logic will still be tested, because this bug was responsible for a
      large amount of flaky tests, so we should see a significant reduction in
      flakiness from now on in tests concerning raft snapshots.
      e7c8582d
    • Georgy Moshkin's avatar
      36a59324
    • Erik Khamitov's avatar
      feat(sql): support VARCHAR without limit · cd1802d9
      Erik Khamitov authored
      cd1802d9
  4. Dec 24, 2024
  5. Dec 23, 2024
  6. Dec 20, 2024
  7. Dec 19, 2024
  8. Dec 18, 2024
Loading