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

tarantool / tarantool / 16562987233
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: ninarodicova/restart_server
DEFAULT BRANCH: master
Ran 28 Jul 2025 07:46AM UTC
Jobs 1
Files 518
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

28 Jul 2025 07:32AM UTC coverage: 87.535% (-0.001%) from 87.536%
16562987233

push

github

sergepetrenko
journal: check present of prev_entry in the queue

On cascading rollback it is necessary to rollback in a reversed
order all the entries, ending with the one, which caused the
rollback.

The entries in the journal space-waiting queue are linked using
stailq. So cutting the tail of it to roll it back is not so
simple. Need to know the previous entry so as to cut all the next
ones.

The previous entry is saved before a next entry is added to the
queue. So on a rollback the previous entry is already known.

But it might happen, that by the time a rollback starts, the
previous entry is already gone. For example, it got enough space
and went to WAL, removing itself from the journal space-waiting
queue.

Then such an entry becomes not usable. It is at least for sure is
not in the list anymore. And might even be freed already.

Luckily, it is easy to check if the prev entry is valid. Lets do
that. When the prev entry is gone, it can only be possible when
the current entry became the first one. Then can just rollback
the entire queue.

Closes #11712
Part of #11180

NO_DOC=bugfix
NO_CHANGELOG=was not released

(cherry picked from commit 86fab9895)

70157 of 124041 branches covered (56.56%)

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

40 existing lines in 20 files now uncovered.

103229 of 117929 relevant lines covered (87.53%)

1613509.04 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.79
-0.05% src/box/iproto.cc
1
87.84
-1.35% src/box/lua/ctl.c
1
84.23
-0.05% src/box/xlog.c
1
87.5
-1.59% src/box/xlog.h
1
96.3
-3.7% src/cpu_feature.c
1
96.55
-1.15% src/lib/core/histogram.c
1
90.38
-1.92% src/lib/core/trigger.cc
2
91.24
0.56% src/box/box.cc
2
90.72
-0.19% src/box/memtx_engine.cc
2
94.08
-0.31% src/box/memtx_space.c
2
92.33
-0.05% src/box/vinyl.c
2
82.22
-4.44% src/lib/core/latch.h
2
85.01
-0.32% src/lib/core/say.c
2
85.71
-9.52% src/lib/core/tt_sigaction.c
3
90.79
-0.22% src/box/applier.cc
3
91.7
-0.58% src/box/gc.c
3
90.9
-0.31% src/box/vy_scheduler.c
3
92.94
0.12% src/lib/core/fiber.c
3
97.05
-0.2% src/lib/msgpuck/msgpuck.h
4
93.31
-1.27% src/lib/swim/swim_io.c
Jobs
ID Job ID Ran Files Coverage
1 16562987233.1 28 Jul 2025 07:46AM UTC 518
87.53
GitHub Action Run
Source Files on build 16562987233
  • Tree
  • List 518
  • Changed 28
  • Source Changed 0
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 1c35ec52 on github
  • Prev Build on release/3.3 (#16491977811)
  • Next Build on release/3.3 (#16625918061)
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