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

tarantool / tarantool / 16141307232
87%
master: 88%

Build:
Build:
LAST BUILD BRANCH: gerold103/gh-8095-synchro-promote-part3
DEFAULT BRANCH: master
Ran 08 Jul 2025 11:22AM UTC
Jobs 1
Files 514
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

08 Jul 2025 10:57AM UTC coverage: 87.435% (+0.02%) from 87.414%
16141307232

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)

69015 of 122349 branches covered (56.41%)

4 of 6 new or added lines in 1 file covered. (66.67%)

37 existing lines in 17 files now uncovered.

101712 of 116329 relevant lines covered (87.43%)

1797952.94 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
91.23
0.47% src/box/box.cc

Coverage Regressions

Lines Coverage ∆ File
4
88.58
-0.23% src/box/xrow.c
4
94.2
-0.82% src/box/xrow_update_field.c
4
97.15
-0.2% src/lib/msgpuck/msgpuck.h
4
81.82
-12.12% src/lua/minifio.c
3
92.2
-0.09% src/box/vinyl.c
3
92.82
-0.12% src/lib/core/fiber.c
2
91.23
0.47% src/box/box.cc
2
95.83
-0.05% src/box/iproto.cc
2
95.78
-0.37% src/box/relay.cc
2
91.34
-0.22% src/lib/swim/swim.c
1
90.7
-0.07% src/box/applier.cc
1
90.51
-0.63% src/box/engine.c
1
94.74
-1.75% src/box/engine.h
1
85.48
-1.61% src/box/lua/ctl.c
1
95.23
-0.13% src/box/replication.cc
1
90.14
-0.08% src/box/vy_log.c
1
87.43
0.08% src/box/vy_run.c
Jobs
ID Job ID Ran Files Coverage
1 16141307232.1 08 Jul 2025 11:22AM UTC 514
87.43
GitHub Action Run
Source Files on build 16141307232
  • Tree
  • List 514
  • Changed 36
  • Source Changed 0
  • Coverage Changed 36
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • e071425e on github
  • Prev Build on release/3.2 (#16047723464)
  • Next Build on release/3.2 (#16217192623)
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