Ran
|
Jobs
1
|
Files
514
|
Run time
2min
|
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)
68619 of 121862 branches covered (56.31%)
101210 of 115961 relevant lines covered (87.28%)
2757688.42 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
85.48 |
-1.61% | src/box/lua/ctl.c |
1 |
95.15 |
-0.13% | src/box/replication.cc |
1 |
79.14 |
-0.53% | src/box/tuple_bloom.c |
1 |
92.94 |
0.01% | src/lib/core/fiber.c |
1 |
89.61 |
-0.18% | src/box/wal.c |
1 |
91.45 |
-0.11% | src/lib/swim/swim.c |
2 |
84.42 |
0.07% | src/box/xlog.c |
2 |
94.25 |
0.0% | src/box/xrow_update_field.c |
2 |
84.64 |
-0.28% | src/lib/core/say.c |
2 |
95.4 |
-2.3% | src/histogram.c |
3 |
91.25 |
-0.1% | src/box/box.cc |
3 |
92.07 |
-0.05% | src/box/vinyl.c |
5 |
89.05 |
-0.39% | src/box/vy_log.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 12281709861.1 | 514 |
87.28 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|