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

tarantool / tarantool / 39400650253
88%

Build:
DEFAULT BRANCH: master
Ran 20 Oct 2026 09:40AM UTC
Jobs 1
Files 528
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

20 Oct 2026 09:26AM UTC coverage: 87.996% (-0.003%) from 87.999%
39400650253

push

github

sergepetrenko
box: skip NOPs in transaction iterators

A NOP statement changes no data but preserves its position in the WAL.
It can be produced e.g. by canceling a write in a before_replace trigger
or by skipping a duplicate-key conflict with replication_skip_conflict.

However, transaction iterators (like in `on_commit/rollback` e.g.) did
not handle NOPs properly. Iterating over one worked while a canceled
write still had its space (like in local NOPification with
`before_replace`). But a NOP read from WAL or replication has no space,
so accessing it through an iterator crashed. Dispatching triggers for
several spaces could crash for the same reason, even if their callbacks
never used the iterator.

Let's skip NOPs completely in transaction iterators. This changes
behavior for the NOPs during local NOPification, as triggers did see the
NOP row before the patch as `N, nil, nil, K` and now they won't. The
compat is not introduced, since it's doubtful anyone relied on NOPs to
be visible, since in almost all cases it just caused crash.

Closes #13163

NO_DOC=bugfix

72614 of 121543 branches covered (59.74%)

8 of 8 new or added lines in 2 files covered. (100.0%)

66 existing lines in 18 files now uncovered.

108973 of 123839 relevant lines covered (88.0%)

1409977.44 hits per line

Coverage Regressions

Lines Coverage ∆ File
23
91.79
0.02% src/box/space.c
5
90.44
-0.39% src/box/vy_log.c
5
96.69
-0.5% src/lib/msgpuck/msgpuck.h
4
93.43
-0.77% src/box/xrow_update_field.c
4
93.31
-1.27% src/lib/swim/swim_io.c
4
88.33
-6.67% src/lua/minifio.c
3
85.91
-0.24% src/box/xlog.c
3
22.66
-0.06% src/lib/uri/uri_parser.c
2
91.2
-0.06% src/box/box.cc
2
96.3
-3.7% src/lib/core/backtrace.c
2
94.49
-0.01% src/lib/core/fiber.c
2
80.95
-9.52% src/lib/core/tt_sigaction.c
2
89.02
-0.35% src/lua/init.c
1
95.22
-0.1% src/box/replication.cc
1
92.71
-0.04% src/box/vinyl.c
1
90.49
-0.16% src/box/wal.c
1
80.0
-2.05% src/lib/core/clock.c
1
96.55
-1.15% src/lib/core/histogram.c
Jobs
ID Job ID Ran Files Coverage
1 39400650253.1 20 Oct 2026 09:41AM UTC 528
88.0
GitHub Action Run
Source Files on build 39400650253
  • Tree
  • List 528
  • Changed 31
  • Source Changed 0
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • a1a0e05a on github
  • Prev Build on master (#39282248257)
  • Next Build on master (#39411761237)
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