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

tarantool / tarantool / 28864950481

07 Jul 2026 12:08PM UTC coverage: 87.71% (-0.03%) from 87.737%
28864950481

push

github

sergepetrenko
config: add recovery-point-manager role

Add the built-in roles.recovery-point-manager role -- the declarative
front end for the recovery point manager. For every configured manager
it resolves the effective backend and options and drives the manager API
(box.backup.recovery_point.manager_create/:cfg/manager_drop). The role
never builds or holds a backend instance: the manager owns it; the role
only reads each backend module's config.validate.

The configuration is split between two scopes. The global (role) scope
holds defaults inherited by every manager: backend (the default backend
type), backends_cfg (a map keyed by backend type -> that backend's
config), create.by.interval and create.timeout. The manager scope
(managers, a map keyed by a user-chosen name) overrides them per manager
and adds a single backend_cfg -- the direct config of that manager's
backend type, which deep-merges onto the global backends_cfg[<type>]
(manager wins). Omitting managers yields a single default manager; an
explicit empty map yields none.

On reconfiguration the role reconciles the set of managers -- creating
new ones, dropping the disappeared and forwarding the effective config
to the rest via manager:cfg(), which keeps the scheduling fiber and
rebuilds the backend instance only when the backend changes. Each
manager gets its own config alerts namespace, so its failure alerts
surface in config:info().alerts.

Closes #12865

@TarantoolBot document
Title: recovery-point-manager role

The built-in roles.recovery-point-manager role periodically creates
recovery points (see box.backup.recovery_point.create()) across a
cluster from the declarative configuration. Enable it via `roles` and
configure it under `roles_cfg`.

Role-level options (defaults inherited by every manager):

 * `backend` (string) -- the default backend type. Resolved to the
   module roles.recovery-point-manager.backends.<backend>.
 * `backends_cfg` (map) -- per-backend-type config, keyed by the backend... (continued)

71069 of 119414 branches covered (59.51%)

106642 of 121585 relevant lines covered (87.71%)

1364037.31 hits per line

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

96.54
/src/box/lua/init.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