|
Ran
|
Jobs
1
|
Files
518
|
Run time
2min
|
Badge
README BADGES
|
push
github
config: evaluate instance configs lazily Before this patch tarantool evaluates instance configurations for all the cluster members on startup (and on configuration reload). It takes observable amount of time for large clusters (500 instances or more), while these configurations are not necessarily accessed by a user. This patch adds a simple machinery to evaluate them lazily, when accessed (for example, by `config:get(<...>, {instance = <...>})`). Timings of startup of a single instance from a configuration with 9000 instances on my laptop: 21 seconds before the patch, 0.6 seconds afterwards. Fixes TNTP-4284 NO_DOC=no API changes (cherry picked from commit cd0cde9d0)
70002 of 123333 branches covered (56.76%)
103223 of 117923 relevant lines covered (87.53%)
1614255.32 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
90.51 |
-0.63% | src/box/engine.c |
| 1 |
94.74 |
-1.75% | src/box/engine.h |
| 1 |
90.14 |
-0.08% | src/box/vy_log.c |
| 1 |
95.68 |
-0.72% | src/box/vy_point_lookup.c |
| 1 |
90.9 |
-0.1% | src/box/vy_scheduler.c |
| 1 |
84.24 |
-0.08% | src/box/xlog.c |
| 1 |
96.95 |
0.0% | src/lib/msgpuck/msgpuck.h |
| 1 |
91.68 |
0.0% | src/lib/swim/swim.c |
| 2 |
92.46 |
0.0% | src/box/vinyl.c |
| 2 |
93.48 |
0.03% | src/box/xrow_update_field.c |
| 2 |
85.61 |
-0.72% | src/lib/core/coio.c |
| 2 |
85.01 |
-0.32% | src/lib/core/say.c |
| 4 |
94.15 |
-1.6% | src/box/vy_range.c |
| 4 |
92.93 |
-0.3% | src/lib/core/fiber.c |
| 4 |
93.31 |
-1.27% | src/lib/swim/swim_io.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 17219700591.1 | 518 |
87.53 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|