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

tarantool / tarantool / 16525482167
88%

Build:
DEFAULT BRANCH: master
Ran 25 Jul 2025 03:30PM UTC
Jobs 1
Files 511
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

25 Jul 2025 03:18PM UTC coverage: 87.609% (+0.03%) from 87.582%
16525482167

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

70793 of 124625 branches covered (56.8%)

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

18 existing lines in 8 files now uncovered.

104044 of 118759 relevant lines covered (87.61%)

1385323.56 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.38
-1.77% src/lib/core/trigger.cc
1
91.56
-0.11% src/lib/swim/swim.c
2
92.58
0.09% src/box/vinyl.c
2
88.01
-0.13% src/box/vy_run.c
2
92.94
-0.2% src/lib/core/fiber.c
2
85.13
-0.32% src/lib/core/say.c
3
97.36
0.0% src/lib/msgpuck/msgpuck.h
5
95.2
-1.04% src/box/vy_read_iterator.c
Jobs
ID Job ID Ran Files Coverage
1 16525482167.1 25 Jul 2025 03:31PM UTC 511
87.61
GitHub Action Run
Source Files on build 16525482167
  • Tree
  • List 511
  • Changed 25
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 86fab989 on github
  • Prev Build on master (#16523091472)
  • Next Build on master (#16564708914)
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