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

tarantool / tarantool / 13130783069
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: y.trakhinin/cmake_presets
DEFAULT BRANCH: master
Ran 04 Feb 2025 08:59AM UTC
Jobs 1
Files 479
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:55AM UTC coverage: 85.987% (+0.004%) from 85.983%
13130783069

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)

63273 of 114549 branches covered (55.24%)

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

45 existing lines in 13 files now uncovered.

94153 of 109497 relevant lines covered (85.99%)

2324802.82 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.24
-1.59% src/lib/small/include/small/quota.h
1
92.51
-0.17% src/box/txn_limbo.c
1
95.4
-1.15% src/histogram.c
1
92.81
-0.72% src/box/vy_point_lookup.c
1
96.0
-4.0% src/lib/core/trigger.h
1
91.45
-0.11% src/lib/swim/swim.c
2
87.04
0.0% src/box/vy_run.c
3
97.6
-0.23% src/box/memtx_tx.c
3
90.01
-0.23% src/box/applier.cc
4
91.87
-0.14% src/box/vinyl.c
5
93.87
-0.66% src/box/replication.cc
5
89.5
-0.51% src/box/memtx_engine.cc
17
86.54
-0.63% src/box/box.cc
Jobs
ID Job ID Ran Files Coverage
1 13130783069.1 04 Feb 2025 08:59AM UTC 479
85.99
GitHub Action Run
Source Files on build 13130783069
  • Tree
  • List 479
  • Changed 403
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 4337059e on github
  • Prev Build on release/2.11 (#13064891584)
  • Next Build on release/2.11 (#13136198520)
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