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

tarantool / tarantool / 16141311828
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: gh-12390-fix-vinil-memory-limit-on-recovery
DEFAULT BRANCH: master
Ran 08 Jul 2025 11:27AM UTC
Jobs 1
Files 518
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

08 Jul 2025 10:57AM UTC coverage: 87.527% (+0.002%) from 87.525%
16141311828

push

github

sergepetrenko
box: fix crash while nil-uuid subscribe request

Before this patch a master node could crash when it processed an
anonymous iproto subscribe request which had a nil instance uuid.
The reason of this error is that in `box_connect_replica` we didn't
throw an error when non-exist replica tried to connect to node. It
led to a situation when the nullified replica object was tried to
dereferenced while iproto subscribe request. Now, we raise an
ER_NIL_UUID error if we get an iproto request with nil `instance_uuid`.

After this change `test_fetch_snapshot_no_uuid` and
`test_checkpoint_join` start fail. The reason of these failures is an
incorrect err.type and err.msg of iproto response when we try to send
an iproto request with nil `instance_uuid`. Now, these tests are fixed
by changing an err.type and err.msg to appropriate values.

Also we change `gh_10155_make_iproto_resistant_to_misusage` test because
`write_fetch_snapshot` wasn't be able to send iproto fetch_snapshot
request with uuid. It led to situation when ER_NIL_UUID error was raised
during fetch_snapshot and as a result we weren't be able to read
snapshot after this. It broke
`test_iproto_crash_fetch_snapshot_subscribe` and
`test_iproto_crash_fetch_snapshot_subscribe_not_anon`.

Closes #11531

NO_DOC=bugfix

(cherry picked from commit 0ba7505b9)

70172 of 124031 branches covered (56.58%)

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

29 existing lines in 12 files now uncovered.

103192 of 117898 relevant lines covered (87.53%)

1982241.76 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.51
0.0% src/box/vinyl.c
1
87.5
-1.59% src/box/xlog.h
1
80.0
-2.05% src/lib/core/clock.c
1
91.68
-0.11% src/lib/swim/swim.c
2
94.09
-0.31% src/box/memtx_space.c
2
89.24
-0.12% src/box/xrow.c
2
94.64
0.0% src/box/xrow_update_field.c
2
97.15
-0.2% src/lib/msgpuck/msgpuck.h
3
91.7
-0.58% src/box/gc.c
3
94.15
-1.6% src/box/vy_range.c
4
81.82
-12.12% src/lua/minifio.c
7
91.2
-0.17% src/box/box.cc
Jobs
ID Job ID Ran Files Coverage
1 16141311828.1 08 Jul 2025 11:27AM UTC 518
87.53
GitHub Action Run
Source Files on build 16141311828
  • Tree
  • List 518
  • Changed 32
  • Source Changed 0
  • Coverage Changed 32
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 7b46e9f6 on github
  • Prev Build on release/3.3 (#16047724709)
  • Next Build on release/3.3 (#16144939433)
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