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

tarantool / tarantool / 28806539151
88%

Build:
DEFAULT BRANCH: master
Ran 06 Jul 2026 04:52PM UTC
Jobs 1
Files 525
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

06 Jul 2026 04:24PM UTC coverage: 87.727% (-0.01%) from 87.739%
28806539151

push

github

sergepetrenko
box: introduce recovery point API

Closes #11729

@TarantoolBot document
Title: Document recovery point API
Product: Tarantool
Since: 3.8

`box.backup.recovery_point.create()` is introduced to create
recovery point. Recovery point is point in xlog to which one can
truncate it to produce committed state at the time of point creation. The
recovery point has `replica_id`, `lsn` pair which unambiguously specify
a statement in xlog. The statement itself should be included on
truncation.

The result is table:

```
tarantool> box.backup.recovery_point.create()
---
- lsn: 46
  timestamp: 1782208661.7946
  replica_id: 1
...
```

Result fields are:
- `timestamp` - Unix-time of recovery point in seconds. It is less than
  or equal to commit time of recovery point entry and larger than or
equal to time of recovery point creation API call.
- `replica_id` - replica_id of recovery point statement in xlog.
- `lsn` - lsn of recovery point statement in xlog.

Create can also take a label as options parameter:

```
tarantool> box.backup.recovery_point.create({label = 'label-1'})
- lsn: 46
  timestamp: 1782208661.7946
  replica_id: 1
  label: label-1
```

Recovery points are persistent and replicated.

New `box.backup.info().recovery_points` field shows all created recovery
points that resides in xlogs of backup in progress.

```
tarantool> box.backup.recovery_point.create()
tarantool> box.backup.recovery_point.create({label = 'label-1'})
tarantool> box.backup.start()
tarantool> box.backup.info().recovery_points
---
- - lsn: 1
    timestamp: 1782208906.2023
    replica_id: 1
  - lsn: 3
    timestamp: 1782208908.4776
    replica_id: 1
    label: label-1
...
```

71018 of 119288 branches covered (59.53%)

96 of 108 new or added lines in 2 files covered. (88.89%)

209 existing lines in 19 files now uncovered.

106577 of 121487 relevant lines covered (87.73%)

1382260.94 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
91.2
-0.16% src/box/box.cc

Coverage Regressions

Lines Coverage ∆ File
127
89.87
-0.24% src/box/applier.cc
19
96.35
0.03% src/box/relay.cc
19
95.13
0.05% src/box/replication.cc
9
60.42
-4.29% src/lib/core/fio.c
6
99.05
0.0% src/lib/raft/raft.c
5
92.55
-0.22% src/box/vinyl.c
4
87.39
-0.68% src/lib/core/sio.c
3
97.52
-0.2% src/box/memtx_tx.c
3
92.0
-0.3% src/box/vy_scheduler.c
2
93.81
-0.39% src/box/xrow_update_field.c
2
82.22
-4.44% src/lib/core/latch.h
2
80.95
-9.52% src/lib/core/tt_sigaction.c
2
95.45
-4.55% src/lib/json/json.h
1
96.5
0.04% src/box/lua/init.c
1
95.49
0.09% src/box/raft.c
1
85.87
-0.01% src/box/xlog.c
1
96.55
-1.15% src/lib/core/histogram.c
1
90.38
-1.92% src/lib/core/trigger.cc
1
22.64
-0.02% src/lib/uri/uri_parser.c
Jobs
ID Job ID Ran Files Coverage
1 28806539151.1 06 Jul 2026 04:52PM UTC 525
87.73
GitHub Action Run
Source Files on build 28806539151
  • Tree
  • List 525
  • Changed 34
  • Source Changed 0
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 73b2b4bf on github
  • Prev Build on master (#28806333430)
  • Next Build on master (#28806648384)
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