|
Ran
|
Jobs
1
|
Files
518
|
Run time
1min
|
Badge
README BADGES
|
push
github
box: disallow alter of primary index with dependent secondary Rebuild of several indexes in one statement is broken because we need to maintain consistency of built indexes while building the next ones, and we don't do that. Such rebuilds can happen only when primary index is altered and all non-unique and nullable indexes need to be rebuilt as well. Let's simply forbid such alters. We could forbid any alter of primary index, and the patch would be even a bit simpler, but let's allow to alter primary in a space without dependent secondary indexes - it seems to work fine, and people would use it, at least someone reported this problem, hence, someone actually tried to alter primary. Closes #10951 NO_DOC=bugfix (cherry picked from commit f34d0bf81)
70429 of 124151 branches covered (56.73%)
3 of 3 new or added lines in 1 file covered. (100.0%)
62 existing lines in 18 files now uncovered.103567 of 118361 relevant lines covered (87.5%)
2778826.95 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
96.14 |
-0.18% | src/box/relay.cc |
| 1 |
95.66 |
-0.12% | src/box/replication.cc |
| 1 |
95.21 |
1.06% | src/box/vy_range.c |
| 1 |
80.0 |
-2.5% | src/lib/core/clock.c |
| 1 |
96.55 |
-1.15% | src/lib/core/histogram.c |
| 1 |
22.64 |
-0.02% | src/lib/uri/uri_parser.c |
| 2 |
95.84 |
-0.11% | src/box/iproto.cc |
| 2 |
84.27 |
-0.15% | src/box/xlog.c |
| 2 |
94.23 |
0.0% | src/box/xrow_update_field.c |
| 2 |
95.45 |
-4.55% | src/lib/json/json.h |
| 2 |
94.22 |
-0.39% | src/lua/fiber.c |
| 3 |
91.7 |
-0.58% | src/box/gc.c |
| 3 |
92.94 |
-0.19% | src/lib/core/fiber.c |
| 4 |
93.31 |
-1.27% | src/lib/swim/swim_io.c |
| 6 |
95.2 |
-1.25% | src/box/vy_read_iterator.c |
| 6 |
87.44 |
-0.38% | src/box/vy_run.c |
| 6 |
97.36 |
-0.41% | src/lib/msgpuck/msgpuck.h |
| 18 |
90.92 |
-0.56% | src/box/box.cc |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 15342392362.1 | 518 |
87.5 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|