|
Ran
|
Jobs
1
|
Files
514
|
Run time
5min
|
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)
68868 of 121645 branches covered (56.61%)
101720 of 116373 relevant lines covered (87.41%)
1796535.38 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 17 |
90.78 |
-0.48% | src/box/box.cc |
| 15 |
91.94 |
-2.33% | src/box/memtx_space.c |
| 3 |
92.15 |
-0.09% | src/box/vinyl.c |
| 3 |
92.84 |
-0.31% | src/lib/core/fiber.c |
| 3 |
97.46 |
0.2% | src/lib/msgpuck/msgpuck.h |
| 2 |
95.83 |
-0.11% | src/box/iproto.cc |
| 2 |
95.78 |
-0.37% | src/box/relay.cc |
| 2 |
86.27 |
-0.42% | src/box/vy_stmt.c |
| 2 |
94.25 |
-0.39% | src/box/xrow_update_field.c |
| 1 |
92.45 |
-0.44% | src/box/recovery.cc |
| 1 |
97.4 |
-0.06% | src/lib/salad/bps_tree.h |
| 1 |
91.45 |
-0.11% | src/lib/swim/swim.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 17219702620.1 | 514 |
87.41 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|