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

tarantool / tarantool / 25850196352
88%

Build:
DEFAULT BRANCH: master
Ran 14 May 2026 08:48AM UTC
Jobs 1
Files 525
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

14 May 2026 08:30AM UTC coverage: 87.681% (+0.006%) from 87.675%
25850196352

push

github

sergepetrenko
limbo: encapsulate limbo promotion logic

Promotion logic of the limbo was scattered across the following
places quite messy:
1. box/raft which must invoke box_promote_qsync().
2. box/box's box_promote() had to check terms, collect acks,
  trigger the low-level promotion request.
3. box/txn_limbo's txn_limbo_req_promote() did the actual final
  write + commit.

While the code is still imperfect, it is quite clear, that box.cc
must not be digging so deeply into internals of the limbo.

This whole logic now is moved into the limbo's internal code and
exposed as one simple function call. Which does one thing - makes
sure the limbo ownership is caught up with Raft's state machine.

This in turn also allows to entirely hide the selection of
promotion LSN. It will be necessary in the future, when
synchronous PROMOTE will be implemented, and its commit LSN logic
will be relatively complicated and very internal.

As a bonus alongside the code just got quite simpler.

Part of #8095

NO_DOC=refactoring
NO_TEST=refactoring
NO_CHANGELOG=refactoring

70693 of 118960 branches covered (59.43%)

69 of 71 new or added lines in 2 files covered. (97.18%)

243 existing lines in 22 files now uncovered.

106339 of 121280 relevant lines covered (87.68%)

1379995.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
93.56
0.46% src/box/txn_limbo.c

Coverage Regressions

Lines Coverage ∆ File
156
91.26
0.43% src/box/box.cc
22
93.56
0.46% src/box/txn_limbo.c
22
95.09
-0.04% src/box/txn_limbo_queue.c
11
92.95
0.04% src/lib/core/fiber.c
4
92.69
-0.13% src/box/vinyl.c
4
88.09
-0.25% src/box/vy_run.c
4
94.2
0.0% src/lib/core/fiber.h
3
89.64
-0.22% src/box/applier.cc
2
89.74
-0.11% src/box/xrow.c
2
93.6
0.55% src/box/xrow_update_field.c
2
87.03
-0.25% src/lib/core/say.c
1
88.96
-0.61% src/box/engine.c
1
96.88
-1.56% src/box/engine.h
1
96.32
0.0% src/box/relay.cc
1
95.1
-0.1% src/box/replication.cc
1
90.3
-0.08% src/box/vy_log.c
1
95.21
-0.53% src/box/vy_range.c
1
89.47
-1.6% src/box/xlog.h
1
90.38
-1.92% src/lib/core/trigger.cc
1
97.15
0.1% src/lib/msgpuck/msgpuck.h
1
91.68
-0.11% src/lib/swim/swim.c
1
22.64
-0.02% src/lib/uri/uri_parser.c
Jobs
ID Job ID Ran Files Coverage
1 25850196352.1 14 May 2026 08:48AM UTC 525
87.68
GitHub Action Run
Source Files on build 25850196352
  • Tree
  • List 525
  • Changed 32
  • Source Changed 0
  • Coverage Changed 32
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 364c9c6b on github
  • Prev Build on master (#25756017305)
  • Next Build on master (#25854062053)
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