|
Ran
|
Jobs
1
|
Files
513
|
Run time
2min
|
Badge
README BADGES
|
push
github
netbox: reduce spam in netbox logs Before this patch a lot of "Connection refused" records were printed in log files during netbox connection. This happened in two general situations: 1) Current instance tries to connect to non-existent instance. 2) Current instance loses a succeeded connection to another instance. The spam in logs was appearing because we didn't have any logic in `netbox_worker_f` which would control periodic errors' logging during netbox connection. Now, we fix this issue by passing a whole error object into lua stack instead of errmsg and changing logic of errors' displaying in `new_sm` netbox lua function. We display error in "warning" mode only if 1) This error is the first one in netbox session. 2) Current and previous error has different types (codes). 3) Current and previous error has different messages and different types of parent error. Otherwise, current error will be repeated in "verbose" mode. Closes #10506 NO_DOC=bugfix (cherry picked from commit 2c27c9ea6)
69831 of 117657 branches covered (59.35%)
3 of 3 new or added lines in 1 file covered. (100.0%)
23 existing lines in 13 files now uncovered.104791 of 119594 relevant lines covered (87.62%)
1369870.91 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 4 |
81.82 |
-12.12% | src/lua/minifio.c |
| 3 |
22.66 |
-0.06% | src/lib/uri/uri_parser.c |
| 2 |
90.8 |
-0.06% | src/box/box.cc |
| 2 |
88.01 |
0.07% | src/box/vy_run.c |
| 2 |
93.98 |
-0.02% | src/box/xrow_update_field.c |
| 2 |
92.84 |
-0.2% | src/lib/core/fiber.c |
| 2 |
85.94 |
-0.32% | src/lib/core/say.c |
| 1 |
80.74 |
-0.33% | src/box/tuple_bloom.c |
| 1 |
94.17 |
-0.12% | src/box/txn_limbo.c |
| 1 |
92.47 |
0.0% | src/box/vinyl.c |
| 1 |
89.39 |
0.06% | src/box/xrow.c |
| 1 |
97.05 |
0.0% | src/lib/msgpuck/msgpuck.h |
| 1 |
96.1 |
-0.05% | src/lib/salad/bps_tree.h |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 19540278673.1 | 513 |
87.62 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|