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

tarantool / tarantool / 25874788496
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: Godrik0/gh-11002-template-variables
DEFAULT BRANCH: master
Ran 14 May 2026 05:41PM UTC
Jobs 1
Files 514
Run time 3min
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 05:25PM UTC coverage: 87.668% (+0.006%) from 87.662%
25874788496

push

github

Gerold103
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

(cherry picked from commit 364c9c6be)

69860 of 117629 branches covered (59.39%)

63 of 71 new or added lines in 2 files covered. (88.73%)

248 existing lines in 16 files now uncovered.

104895 of 119650 relevant lines covered (87.67%)

1387907.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
92.42
-0.68% src/box/txn_limbo.c

Coverage Regressions

Lines Coverage ∆ File
152
91.47
0.54% src/box/box.cc
25
92.42
-0.68% src/box/txn_limbo.c
22
95.09
-1.63% src/box/txn_limbo_queue.c
9
92.95
0.02% src/lib/core/fiber.c
8
94.78
-1.67% src/box/vy_read_iterator.c
7
87.74
-0.41% src/box/vy_run.c
4
94.67
0.0% src/lib/core/fiber.h
4
81.82
-12.12% src/lua/minifio.c
3
92.55
-0.09% src/box/vinyl.c
3
94.15
-1.06% src/box/vy_range.c
3
84.75
-0.28% src/box/xlog.c
2
85.61
-0.72% src/lib/core/coio.c
2
85.71
-9.52% src/lib/core/tt_sigaction.c
2
97.36
0.3% src/lib/msgpuck/msgpuck.h
1
90.53
-0.08% src/box/applier.cc
1
91.68
0.0% src/lib/swim/swim.c
Jobs
ID Job ID Ran Files Coverage
1 25874788496.1 14 May 2026 05:41PM UTC 514
87.67
GitHub Action Run
Source Files on build 25874788496
  • Tree
  • List 514
  • Changed 33
  • Source Changed 0
  • Coverage Changed 33
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 83cc582b on github
  • Prev Build on release/3.5 (#25791547755)
  • Next Build on release/3.5 (#26405927369)
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