• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 15909673817
88%

Build:
DEFAULT BRANCH: master
Ran 26 Jun 2025 06:44PM UTC
Jobs 1
Files 511
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jun 2025 06:29PM UTC coverage: 87.52% (-0.03%) from 87.546%
15909673817

push

github

Totktonada
config: reload config by SIGUSR2

The idea is quite straightforward: once tarantool receives `SIGUSR2`, it
reloads the YAML configuration. If the YAML configuration is not
provided (the instance is started using the 2.x Lua script flow), it is
no-op.

Consequent signals may be coalesced by the OS if they're sent fast
enough. However, if tarantool is in processing of one reload triggered
by a signal, the next signal is queued and a second reload happens after
the first one.

The current implementation has a nuance: `config:reload()` called from
Lua is not queued. If `SIGUSR2` arrives during `config:reload()`, a log
warning issued and the second reload doesn't happen. Similarly,
automatic reload from a remote configuration source (etcd/config
storage) is not queued.

These nuances are *not* an API guarantee and I hope that we'll process
various kinds of reload requests in some uniform way in a future.

Fixes #11585

@TarantoolBot document
Title: config: reload configuration by SIGUSR2

Now, tarantool reloads the YAML configuration if the `SIGUSR2` signal
arrives.

70564 of 124333 branches covered (56.75%)

5 of 5 new or added lines in 1 file covered. (100.0%)

61 existing lines in 15 files now uncovered.

103731 of 118523 relevant lines covered (87.52%)

2777697.19 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
88.2
-0.62% src/box/engine.c
1
95.31
-1.56% src/box/engine.h
1
93.55
-0.14% src/box/txn_limbo.c
1
92.53
0.18% src/box/vinyl.c
1
90.14
-0.08% src/box/vy_log.c
1
80.0
-2.05% src/lib/core/clock.c
1
92.93
-0.1% src/lib/core/fiber.c
1
85.15
-0.99% src/lib/small/small/slab_arena.c
2
87.94
-0.14% src/box/vy_run.c
2
89.24
-0.11% src/box/xrow.c
3
94.68
-1.06% src/box/vy_range.c
5
97.05
-0.51% src/lib/msgpuck/msgpuck.h
9
88.14
-7.63% src/box/vy_regulator.c
15
92.11
-2.32% src/box/memtx_space.c
17
90.91
-0.53% src/box/box.cc
Jobs
ID Job ID Ran Files Coverage
1 15909673817.1 26 Jun 2025 06:44PM UTC 511
87.52
GitHub Action Run
Source Files on build 15909673817
  • Tree
  • List 511
  • Changed 31
  • Source Changed 0
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 863dc7c4 on github
  • Prev Build on master (#15900788935)
  • Next Build on master (#15920986389)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc