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

tarantool / tarantool / 21431603214
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: m.kostoev/gh-156-eio-readdir-leaks
DEFAULT BRANCH: master
Ran 28 Jan 2026 09:11AM UTC
Jobs 1
Files 522
Run time 1min
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

28 Jan 2026 08:55AM UTC coverage: 87.584% (+0.02%) from 87.564%
21431603214

push

github

sergepetrenko
limbo: introduce explicit state

The txn_limbo::state now is one member which clearly reflects the
state of the limbo: inactive, leader, or replica.

Previously these states also existed but had to be deducted from
other properties.

With the new approach it became possible to remove some of the
other state-flags, simplify others, and simplify the limbo's API
in general.

For example, there is no more such states as "fenced" or "frozen".
Because these were very high-level descriptions of events like
when a leader steps down due to quorum loss or a new term
appearing or when the instance was just restarted. These were
events, not states. The state in these cases is the limbo becoming
a "replica" instead of "leader".

With such approach the concept of "unfencing" also disappears.
Because a replica can't just become a leader even if the quorum
is restored. It anyway needs to be elected again.

The most important parts of this commit are the state itself
and the new flag is_transition_in_progress. The new flag
previously didn't exist explicitly. These new things will be
needed in scope of #8095, where ownership transition will actually
be in progress for quite a while, not only during PROMOTE journal
write.

Part of #8095

NO_DOC=refactoring
NO_CHANGELOG=refactoring
NO_TEST=tested

(cherry picked from commit a755e0ed3)

70188 of 118145 branches covered (59.41%)

71 of 71 new or added lines in 5 files covered. (100.0%)

173 existing lines in 12 files now uncovered.

105512 of 120469 relevant lines covered (87.58%)

1377603.64 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.5
-0.07% src/box/applier.cc
1
96.3
-0.18% src/box/relay.cc
1
95.83
-0.12% src/box/replication.cc
1
96.55
-1.15% src/lib/core/histogram.c
1
97.46
0.3% src/lib/msgpuck/msgpuck.h
2
95.84
-0.11% src/box/iproto.cc
2
98.07
0.0% src/box/lua/info.c
3
92.43
-0.13% src/box/vinyl.c
4
93.31
-1.27% src/lib/swim/swim_io.c
9
88.14
-7.63% src/box/vy_regulator.c
22
94.28
-0.03% src/box/txn_limbo.c
126
90.98
0.25% src/box/box.cc
Jobs
ID Job ID Ran Files Coverage
1 21431603214.1 28 Jan 2026 09:11AM UTC 522
87.58
GitHub Action Run
Source Files on build 21431603214
  • Tree
  • List 522
  • Changed 29
  • Source Changed 0
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • f961d976 on github
  • Prev Build on release/3.6 (#21398214958)
  • Next Build on release/3.6 (#21513402305)
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