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

tarantool / tarantool / 16884172695 / 1
87%
master: 88%

Build:
Build:
LAST BUILD BRANCH: ninarodicova/branch_for_fix_bug3
DEFAULT BRANCH: master
Ran 11 Aug 2025 03:23PM UTC
Files 514
Run time 29s
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

11 Aug 2025 03:12PM UTC coverage: 87.418% (-0.03%) from 87.444%
16884172695.1

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)

69116 of 122423 branches covered (56.46%)

101759 of 116405 relevant lines covered (87.42%)

1804397.95 hits per line

Source Files on job 16884172695.1
  • Tree
  • List 514
  • Changed 38
  • Source Changed 0
  • Coverage Changed 38
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 16884172695
  • 463cd106 on github
  • Prev Job for on release/3.2 (#16874708730.1)
  • Next Job for on release/3.2 (#17152120020.1)
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