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

tarantool / tarantool / 15909673817

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

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.2
/src/box/engine.c


Source Not Available

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