Ran
|
Jobs
1
|
Files
514
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
upgrade: fix upgrading from schema 1.6.9 This commit fixes some cases of upgrading schema from 1.6.9: 1. Fix updating empty password for users. In 1.6 credentials were array in _user, in 1.7.5 they became map. 2. Automatically update the format of user spaces. Format of system spaces have been properly fixed during upgrade to 1.7.5. However, commit 519bc82e4fb4 ("Parse and validate space formats") introduced strict checking of format field in 1.7.6. So, the format of user spaces should be also fixed. Back in 1.6 days, it was allowed to write anything in space format. This commit only fixes valid uses of format: {name = 'a', type = 'number'} {'a', type = 'number'} {'a', 'num'} {'a'} Invalid use of format (e.g. {{}}, or {{5, 'number'}} will cause error anyway. User has to fix the format on old version and only after that start a new one. This commit also introduces the test, which checks, that we can properly upgrade from 1.6.9 to the latest versions, at least in basic cases. Closes #10180 NO_DOC=bugfix (cherry picked from commit f69e2ae48)
68495 of 121742 branches covered (56.26%)
101116 of 115884 relevant lines covered (87.26%)
2668918.41 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
63.97 |
3.13% | src/lib/core/fio.c |
1 |
95.84 |
-0.05% | src/box/iproto.cc |
1 |
87.5 |
-1.59% | src/box/xlog.h |
1 |
89.05 |
-0.08% | src/box/vy_log.c |
1 |
90.51 |
-0.63% | src/box/engine.c |
1 |
92.45 |
-0.47% | src/box/recovery.cc |
1 |
96.01 |
0.43% | src/lib/msgpuck/msgpuck.h |
1 |
94.74 |
-1.75% | src/box/engine.h |
1 |
79.14 |
-0.53% | src/box/tuple_bloom.c |
2 |
84.64 |
-0.28% | src/lib/core/say.c |
2 |
93.91 |
2.03% | src/box/memtx_space.c |
2 |
91.56 |
0.0% | src/lib/swim/swim.c |
3 |
90.93 |
-0.31% | src/box/vy_scheduler.c |
3 |
97.21 |
-0.23% | src/box/memtx_tx.c |
3 |
92.08 |
-0.05% | src/box/vinyl.c |
3 |
94.44 |
-0.98% | src/box/gc.c |
3 |
94.68 |
-1.6% | src/box/vy_range.c |
4 |
93.31 |
0.0% | src/lib/swim/swim_io.c |
4 |
84.26 |
-0.35% | src/box/xlog.c |
8 |
87.6 |
-0.39% | src/box/vy_run.c |
9 |
88.14 |
-7.63% | src/box/vy_regulator.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 11724033772.1 | 514 |
87.26 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|