Ran
|
Jobs
1
|
Files
518
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
config/schema: deep-merge tables under `any` type `<schema object>:merge()` now performs a deep merge inside an `any` scalar value if left-hand and right-hand values are both tables, where all the keys are strings. The cluster configuration options that are marked as `any` in the schema (fields of `app.cfg` and `roles_cfg`) are now merged deeply. Fixes #10450 @TarantoolBot document Title: `app.cfg` and `roles_cfg` are now merged deeply Since Tarantool 3.4.0, 3.3.1, 3.2.2 `<schema object>:merge()` performs a deep merge for table values marked with the `any` type in the schema if all the keys in these tables are strings. Please, update the method description in [1] accordingly. Fields of `app.cfg` and `roles_cfg` are defined as `any` in the cluster configuration schema, so now it is possible to set options on different levels and get a merged result from `config:get()`. The roles documentation in [2] needs an update, from the following words: > If a configuration for the same role is provided at different levels > <...> [1]: https://www.tarantool.io/en/doc/latest/reference/reference_lua/config/utils_schema/#config-schema-object-merge [2]: https://www.tarantool.io/en/doc/latest/platform/configuration/#configuration-application-roles (cherry picked from commit 4c302320c)
69632 of 123506 branches covered (56.38%)
102584 of 117443 relevant lines covered (87.35%)
3082076.57 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
96.12 |
0.0% | src/box/relay.cc |
1 |
84.24 |
-0.1% | src/box/xlog.c |
1 |
95.9 |
0.1% | src/lib/msgpuck/msgpuck.h |
1 |
93.66 |
-0.14% | src/box/txn_limbo.c |
1 |
87.74 |
0.07% | src/box/vy_run.c |
1 |
92.84 |
0.0% | src/lib/core/fiber.c |
1 |
22.68 |
-0.02% | src/lib/uri/uri_parser.c |
2 |
95.05 |
-0.62% | src/box/raft.c |
2 |
91.43 |
-0.03% | src/box/box.cc |
2 |
92.06 |
-0.09% | src/box/vinyl.c |
4 |
93.31 |
-1.27% | src/lib/swim/swim_io.c |
15 |
91.82 |
-2.36% | src/box/memtx_space.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 12281707056.1 | 518 |
87.35 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|