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

tarantool / tarantool / 16071606497
88%

Build:
DEFAULT BRANCH: master
Ran 04 Jul 2025 10:39AM UTC
Jobs 1
Files 511
Run time 4min
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

04 Jul 2025 10:23AM UTC coverage: 87.543% (-0.01%) from 87.554%
16071606497

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

70644 of 124439 branches covered (56.77%)

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

36 existing lines in 15 files now uncovered.

103849 of 118626 relevant lines covered (87.54%)

2610176.68 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.14
-0.18% src/box/relay.cc
1
93.69
-0.14% src/box/txn_limbo.c
1
93.62
-0.53% src/box/vy_range.c
1
94.99
-0.21% src/box/vy_read_iterator.c
1
84.52
-0.03% src/box/xlog.c
1
93.04
-0.08% src/lib/core/fiber.c
1
96.55
-1.15% src/lib/core/histogram.c
2
95.84
-0.11% src/box/iproto.cc
2
93.02
-0.37% src/box/xrow_update_field.c
2
82.22
-4.44% src/lib/core/latch.h
2
85.13
-0.32% src/lib/core/say.c
3
97.42
-0.2% src/box/memtx_tx.c
4
90.7
-0.3% src/box/applier.cc
6
90.74
-0.2% src/box/box.cc
8
92.35
-0.36% src/box/vinyl.c
Jobs
ID Job ID Ran Files Coverage
1 16071606497.1 04 Jul 2025 10:39AM UTC 511
87.54
GitHub Action Run
Source Files on build 16071606497
  • Tree
  • List 511
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 0ba7505b on github
  • Prev Build on master (#16049571684)
  • Next Build on master (#16137506168)
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