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

tarantool / tarantool / 16438277002
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: gh4256
DEFAULT BRANCH: master
Ran 22 Jul 2025 08:12AM UTC
Jobs 1
Files 518
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

22 Jul 2025 07:57AM UTC coverage: 87.53% (+0.004%) from 87.526%
16438277002

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

(cherry picked from commit 26aa5abba)

70153 of 124049 branches covered (56.55%)

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

43 existing lines in 12 files now uncovered.

103204 of 117907 relevant lines covered (87.53%)

1608455.8 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
90.61
-0.53% src/box/box.cc

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.84
-1.35% src/box/lua/ctl.c
1
80.74
-0.41% src/box/tuple_bloom.c
1
93.66
-0.14% src/box/txn_limbo.c
1
92.42
0.05% src/box/vinyl.c
1
90.9
-0.1% src/box/vy_scheduler.c
1
90.38
-1.77% src/lib/core/trigger.cc
2
87.16
-0.13% src/box/vy_run.c
2
89.26
0.01% src/box/xrow.c
2
92.93
-0.12% src/lib/core/fiber.c
4
81.82
-12.12% src/lua/minifio.c
9
88.14
-7.63% src/box/vy_regulator.c
18
90.61
-0.53% src/box/box.cc
Jobs
ID Job ID Ran Files Coverage
1 16438277002.1 22 Jul 2025 08:12AM UTC 518
87.53
GitHub Action Run
Source Files on build 16438277002
  • Tree
  • List 518
  • Changed 31
  • Source Changed 0
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ac6e70d3 on github
  • Prev Build on release/3.3 (#16371375306)
  • Next Build on release/3.3 (#16444911585)
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