|
Ran
|
Jobs
1
|
Files
518
|
Run time
2min
|
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)
70153 of 124049 branches covered (56.55%)
6 of 8 new or added lines in 1 file covered. (75.0%)
43 existing lines in 12 files now uncovered.103204 of 117907 relevant lines covered (87.53%)
1608455.8 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 2 |
90.61 |
-0.53% | src/box/box.cc |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
87.84 |
-1.35% | src/box/lua/ctl.c |
| 1 |
80.74 |
-0.41% | src/box/tuple_bloom.c |
| 1 |
93.66 |
-0.14% | src/box/txn_limbo.c |
| 1 |
92.42 |
0.05% | src/box/vinyl.c |
| 1 |
90.9 |
-0.1% | src/box/vy_scheduler.c |
| 1 |
90.38 |
-1.77% | src/lib/core/trigger.cc |
| 2 |
87.16 |
-0.13% | src/box/vy_run.c |
| 2 |
89.26 |
0.01% | src/box/xrow.c |
| 2 |
92.93 |
-0.12% | src/lib/core/fiber.c |
| 4 |
81.82 |
-12.12% | src/lua/minifio.c |
| 9 |
88.14 |
-7.63% | src/box/vy_regulator.c |
| 18 |
90.61 |
-0.53% | src/box/box.cc |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 16438277002.1 | 518 |
87.53 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|