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

tarantool / tarantool / 16418352555
88%

Build:
DEFAULT BRANCH: master
Ran 21 Jul 2025 01:42PM UTC
Jobs 1
Files 511
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

21 Jul 2025 01:29PM UTC coverage: 87.588% (+0.01%) from 87.574%
16418352555

push

github

sergepetrenko
box: change uuid validation in iproto requests

In the previous patch #11531 we banned connecting to replicas with nil
`instance_uuid` in all iproto requests, including `IPROTO_FETCH_SNAPSHOT`.
It is necessary to allow passing a nil `instance_uuid` to this iproto
request, because:
1) For `IPROTO_FETCH_SNAPSHOT` it became possible to pass an
`instance_uuid`only starting with Tarantool 3.3.
2) While implementing the patch #10755 we wanted to leave `instance_uuid`
field optional for this type of iproto request.

To fix this issue we move checking of nil `instance_uuid` from
`box_connect_replica` to appropriate box functions of each iproto
replication request, excluding `IPROTO_FETCH_SNAPSHOT`.

Also we change some tests:
1) `gh_11531_crash_in_anonymous_subscribe_request_test`: add timeout in
   retrying block in order to avoid flakies. The master node may not be
   able to establish connection during 5 sec. with `net_box` instance.
2) `persistent_gc_anon_test`: introduce `read_fetch_snapshot_response`
   into `test_fetch_snapshot_no_uuid` in order to expect a correct
   iproto response of `IPROTO_FETCH_SNAPSHOT`.

Closes #11668

NO_DOC=bugfix
NO_CHANGELOG=unreleased

70775 of 124597 branches covered (56.8%)

6 of 8 new or added lines in 1 file covered. (75.0%)

40 existing lines in 9 files now uncovered.

103965 of 118698 relevant lines covered (87.59%)

1408673.45 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
90.9
-0.36% src/box/box.cc

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.14
0.0% src/box/relay.cc
1
96.15
-0.05% src/lib/salad/bps_tree.h
2
95.84
-0.11% src/box/iproto.cc
2
95.05
-0.62% src/box/raft.c
2
97.15
0.1% src/lib/msgpuck/msgpuck.h
3
92.94
-0.2% src/lib/core/fiber.c
4
90.9
-0.4% src/box/vy_scheduler.c
9
88.14
-7.63% src/box/vy_regulator.c
16
90.9
-0.36% src/box/box.cc
Jobs
ID Job ID Ran Files Coverage
1 16418352555.1 21 Jul 2025 01:42PM UTC 511
87.59
GitHub Action Run
Source Files on build 16418352555
  • Tree
  • List 511
  • Changed 26
  • Source Changed 0
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 26aa5abb on github
  • Prev Build on master (#16371251718)
  • Next Build on master (#16438297330)
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