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

tarantool / tarantool / 28157651138
88%

Build:
DEFAULT BRANCH: master
Ran 25 Jun 2026 08:51AM UTC
Jobs 1
Files 525
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 Jun 2026 08:36AM UTC coverage: 87.682% (-0.002%) from 87.684%
28157651138

push

github

sergepetrenko
applier: don't send a stale ACK on fiber cancellation

Before the patch the applier writer fiber waited for an ACK request on
`writer_cond` and, as soon as `fiber_cond_wait_timeout()` returned, sent
the next ACK without checking why it woke up.

The wait can also return because the fiber was cancelled. In that case
we shouldn't send one last ACK: `coio_write_xrow()` may not yield if the
socket is writable right away, so a stale ACK could slip out before the
fiber stops. Let's check for fiber cancellation after the wait and break
out instead.

Whenever `writer_cond` is signalled `has_acks_to_send` is set to true.
Let's add that assertion in order not to break it one more time, it can
lead to nasty bugs. Though, the assertion only makes sense for peers >=
1.7.7 (where the wait is infinite), old versions wake up on timeout and
don't have `has_acks_to_send` set.

Follows up #12795

NO_DOC=internal
NO_TEST=can't provoke the cancellation race from Lua, hardening only
NO_CHANGELOG=hardening, not a user-visible bug

70846 of 119104 branches covered (59.48%)

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

130 existing lines in 17 files now uncovered.

106506 of 121469 relevant lines covered (87.68%)

1354989.47 hits per line

Coverage Regressions

Lines Coverage ∆ File
98
90.11
0.11% src/box/applier.cc
5
87.82
-0.33% src/box/vy_run.c
4
89.74
-0.2% src/box/xrow.c
4
81.82
-12.12% src/lua/minifio.c
3
92.74
-0.04% src/box/vinyl.c
2
87.07
-0.35% src/box/vy_stmt.c
2
85.82
-0.16% src/box/xlog.c
2
93.4
-0.41% src/box/xrow_update_field.c
2
96.3
-3.7% src/lib/core/backtrace.c
1
96.15
-0.31% src/box/lua/init.c
1
95.07
-0.1% src/box/replication.cc
1
98.08
-0.31% src/lib/json/json.c
1
97.15
0.1% src/lib/msgpuck/msgpuck.h
1
85.15
-0.99% src/lib/small/small/slab_arena.c
1
91.68
-0.11% src/lib/swim/swim.c
1
22.62
-0.02% src/lib/uri/uri_parser.c
1
75.85
-0.24% src/main.cc
Jobs
ID Job ID Ran Files Coverage
1 28157651138.1 25 Jun 2026 08:51AM UTC 525
87.68
GitHub Action Run
Source Files on build 28157651138
  • Tree
  • List 525
  • Changed 36
  • Source Changed 0
  • Coverage Changed 36
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • c6876ee7 on github
  • Prev Build on master (#27990098771)
  • Next Build on master (#28169191890)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc