• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 14487687066
87%
master: 88%

Build:
Build:
LAST BUILD BRANCH: i12411
DEFAULT BRANCH: master
Ran 16 Apr 2025 08:38AM UTC
Jobs 1
Files 514
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Apr 2025 07:59AM UTC coverage: 87.419% (+0.03%) from 87.387%
14487687066

push

github

sergepetrenko
box: set TXN_WAIT_SYNC with xrow rather than limbo state during recovery

During recovery we set the `TXN_WAIT_SYNC` flag based on the limbo's state
rather than respecting the xrow's flags. This does not play well with fully
local transactions that were committed using the `TXN_FORCE_ASYNC` flag:
during runtime they bypass the limbo as expected, but during recovery we do
not set this flag, and they are appended to the limbo, if it is not empty,
even though they are not supposed to be, since their xrows does not have
the `wait_sync` flag.

To fix this, during recovery let's set all the required flags related to
synchronous replication while processing the xrow, and ignore the limbo
emptiness, if we are in recovery and processing local transactions (i.e.,
not applying remote transactions).

Closes #11053

NO_CHANGELOG=<this version is not affect by backported bugfix>
NO_DOC=<this version is not affect by backported bugfix>
NO_TEST=<this version is not affect by backported bugfix>

(cherry picked from commit 4ba187909)

68936 of 122197 branches covered (56.41%)

4 of 4 new or added lines in 1 file covered. (100.0%)

67 existing lines in 20 files now uncovered.

101624 of 116249 relevant lines covered (87.42%)

1969475.85 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.51
-0.63% src/box/engine.c
1
94.74
-1.75% src/box/engine.h
1
95.28
0.0% src/box/replication.cc
1
93.72
-0.16% src/box/txn_limbo.c
1
90.14
-0.08% src/box/vy_log.c
1
88.05
-0.16% src/box/vy_lsm.c
1
87.5
-1.79% src/box/xlog.h
1
97.05
-0.1% src/lib/msgpuck/msgpuck.h
1
97.41
0.0% src/lib/vclock/vclock.c
2
98.26
0.0% src/box/txn.h
2
87.43
-0.13% src/box/vy_run.c
2
86.27
-0.42% src/box/vy_stmt.c
2
84.32
-0.11% src/box/xlog.c
2
95.45
-4.55% src/lib/json/json.h
4
93.87
-0.77% src/box/xrow_update_field.c
4
93.31
-1.27% src/lib/swim/swim_io.c
6
92.11
-0.28% src/box/vinyl.c
8
60.42
-3.55% src/lib/core/fio.c
12
93.5
0.04% src/box/txn.c
14
93.96
2.1% src/box/memtx_space.c
Jobs
ID Job ID Ran Files Coverage
1 14487687066.1 16 Apr 2025 08:38AM UTC 514
87.42
GitHub Action Run
Source Files on build 14487687066
  • Tree
  • List 514
  • Changed 35
  • Source Changed 0
  • Coverage Changed 35
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • f5b53ee1 on github
  • Prev Build on release/3.2 (#14377804529)
  • Next Build on release/3.2 (#14487668771)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc