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

tarantool / tarantool / 17731057013
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: backport/release/3.5/12373
DEFAULT BRANCH: master
Ran 15 Sep 2025 11:49AM UTC
Jobs 1
Files 519
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

15 Sep 2025 11:08AM UTC coverage: 87.524% (-0.04%) from 87.56%
17731057013

push

github

locker
box: fix old tuple format in on_replace trigger on space upgrade

Currently format of old tuple in `on_replace` trigger may be in new or old
format during space upgrade depending on whether replace is done before
or after upgrade cursor. Space upgrade is designed to be instant from
user POV: it returns upgraded tuples in `space.get()` for example even
if tuple is not upgraded internally. So to make the trigger consistent
with overall design let's always return old tuple in new format.

The old tuple visible in trigger is set by `memtx_space_replace_tuple()`
function. Instead of fixing it let's get rid of it for a few reasons:

- The interface is a bit odd. `old_tuple` is compressed and `new_tuple`
is not. Also reference for `new_tuple` is taken by the function and
is not for `old_tuple`.
- With this function we do some a bit heavy actions twice. For example
on update we decompress old tuple before update but then decompress it
again to set to `stmt->old_tuple` in this function.

Closes tarantool/tarantool-ee#1458

NO_TEST=the fix is tested by the test in EE repository
NO_CHANGELOG=the changelog will be added in EE repository
NO_DOC=bugfix

(cherry picked from commit 7a6319528)

70090 of 123603 branches covered (56.71%)

96 of 106 new or added lines in 2 files covered. (90.57%)

66 existing lines in 22 files now uncovered.

103369 of 118104 relevant lines covered (87.52%)

1607929.83 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
10
94.22
0.14% src/box/memtx_space.c

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.51
-0.63% src/box/engine.c
1
94.74
-1.75% src/box/engine.h
1
96.14
0.0% src/box/relay.cc
1
95.84
-0.12% src/box/replication.cc
1
90.14
-0.08% src/box/vy_log.c
1
87.16
-0.06% src/box/vy_run.c
1
96.55
-1.15% src/lib/core/histogram.c
1
96.15
-0.05% src/lib/salad/bps_tree.h
1
91.56
-0.11% src/lib/swim/swim.c
2
92.46
0.05% src/box/vinyl.c
2
84.23
-0.21% src/box/xlog.c
2
94.62
0.37% src/box/xrow_update_field.c
2
92.92
-0.1% src/lib/core/fiber.c
2
97.46
0.1% src/lib/msgpuck/msgpuck.h
2
94.22
-0.39% src/lua/fiber.c
3
93.09
-1.6% src/box/vy_range.c
3
22.64
-0.06% src/lib/uri/uri_parser.c
4
94.22
0.14% src/box/memtx_space.c
4
93.31
-1.27% src/lib/swim/swim_io.c
4
81.82
-12.12% src/lua/minifio.c
7
94.66
-1.44% src/box/vy_read_iterator.c
20
90.62
-0.63% src/box/box.cc
Jobs
ID Job ID Ran Files Coverage
1 17731057013.1 15 Sep 2025 11:49AM UTC 519
87.52
GitHub Action Run
Source Files on build 17731057013
  • Tree
  • List 519
  • Changed 27
  • Source Changed 0
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • dc884cb4 on github
  • Prev Build on release/3.3 (#17586838509)
  • Next Build on release/3.3 (#18135352191)
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