|
Ran
|
Jobs
1
|
Files
479
|
Run time
1min
|
Badge
README BADGES
|
push
github
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
| 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 |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 13130783069.1 | 479 |
85.99 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|