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

tarantool / tarantool / 13130778401
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: fix-test-dir-for-gitlab-ci
DEFAULT BRANCH: master
Ran 04 Feb 2025 08:16AM 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

04 Feb 2025 07:54AM UTC coverage: 87.391% (+0.04%) from 87.354%
13130778401

push

github

locker
netbox: fix in-progress request counter underflow during schema fetch

If the remote schema changes while the client is fetching it, it will
restart the procedure. This effectively abandons the requests issued
in the previous attempt to fetch the schema. The server will still reply
to them though - when this happens, the client will subtract the counter
of in-progress requests, underflowing it, because these requests were
never accounted in the first place.

In case of a debug build, this bug results in a client crash due to an
assertion failure. In case of a release build, the client doesn't crash,
but the server will hang on shutdown because the counter is used for
implementing the graceful shutdown protocol.

Let's fix this issue by accounting these abandoned requests when
we restart fetching the remote schema.

Closes #11062

NO_DOC=bug fix

(cherry picked from commit 2df320405)

69731 of 123582 branches covered (56.42%)

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

26 existing lines in 17 files now uncovered.

102698 of 117516 relevant lines covered (87.39%)

2416248.06 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
63.97
-2.7% src/lib/core/fio.c
1
89.44
0.31% src/box/vy_log.c
1
90.51
-0.63% src/box/engine.c
1
93.8
0.0% src/box/txn_limbo.c
1
90.7
-0.07% src/box/applier.cc
1
96.15
-0.05% src/lib/salad/bps_tree.h
1
94.24
-0.72% src/box/vy_point_lookup.c
1
94.74
-1.75% src/box/engine.h
1
79.14
-0.53% src/box/tuple_bloom.c
1
92.94
0.0% src/lib/core/fiber.c
1
96.55
-1.15% src/lib/core/histogram.c
1
91.68
-0.11% src/lib/swim/swim.c
2
89.26
-0.1% src/box/xrow.c
2
84.46
0.14% src/box/xlog.c
3
92.2
-0.09% src/box/vinyl.c
3
94.68
0.0% src/box/vy_range.c
4
81.82
-12.12% src/lua/minifio.c
Jobs
ID Job ID Ran Files Coverage
1 13130778401.1 04 Feb 2025 08:16AM UTC 518
87.39
GitHub Action Run
Source Files on build 13130778401
  • Tree
  • List 518
  • Changed 437
  • Source Changed 0
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 68b82675 on github
  • Prev Build on release/3.3 (#13064889674)
  • Next Build on release/3.3 (#13136160889)
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