|
Ran
|
Jobs
1
|
Files
518
|
Run time
3min
|
Badge
README BADGES
|
push
github
box: change uuid validation in iproto requests In the previous patch #11531 we banned connecting to replicas with nil `instance_uuid` in all iproto requests, including `IPROTO_FETCH_SNAPSHOT`. It is necessary to allow passing a nil `instance_uuid` to this iproto request, because: 1) For `IPROTO_FETCH_SNAPSHOT` it became possible to pass an `instance_uuid`only starting with Tarantool 3.3. 2) While implementing the patch #10755 we wanted to leave `instance_uuid` field optional for this type of iproto request. To fix this issue we move checking of nil `instance_uuid` from `box_connect_replica` to appropriate box functions of each iproto replication request, excluding `IPROTO_FETCH_SNAPSHOT`. Also we change some tests: 1) `gh_11531_crash_in_anonymous_subscribe_request_test`: add timeout in retrying block in order to avoid flakies. The master node may not be able to establish connection during 5 sec. with `net_box` instance. 2) `persistent_gc_anon_test`: introduce `read_fetch_snapshot_response` into `test_fetch_snapshot_no_uuid` in order to expect a correct iproto response of `IPROTO_FETCH_SNAPSHOT`. Closes #11668 NO_DOC=bugfix NO_CHANGELOG=unreleased (cherry picked from commit 26aa5abba)
70523 of 124291 branches covered (56.74%)
6 of 8 new or added lines in 1 file covered. (75.0%)
29 existing lines in 14 files now uncovered.103716 of 118471 relevant lines covered (87.55%)
1369474.21 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 2 |
91.32 |
0.55% | src/box/box.cc |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
88.13 |
-0.63% | src/box/engine.c |
| 1 |
95.31 |
-1.56% | src/box/engine.h |
| 1 |
90.14 |
-0.08% | src/box/vy_log.c |
| 1 |
60.42 |
-0.42% | src/lib/core/fio.c |
| 1 |
90.38 |
-1.77% | src/lib/core/trigger.cc |
| 1 |
91.68 |
-0.11% | src/lib/swim/swim.c |
| 2 |
87.44 |
-0.12% | src/box/vy_run.c |
| 2 |
94.61 |
-0.03% | src/box/xrow_update_field.c |
| 2 |
94.22 |
-0.39% | src/lua/fiber.c |
| 3 |
91.7 |
-0.58% | src/box/gc.c |
| 3 |
92.49 |
-0.09% | src/box/vinyl.c |
| 3 |
96.85 |
-0.3% | src/lib/msgpuck/msgpuck.h |
| 4 |
84.16 |
-0.27% | src/box/xlog.c |
| 4 |
81.82 |
-12.12% | src/lua/minifio.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 16438278656.1 | 518 |
87.55 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|