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

tarantool / tarantool / 15156182597
88%

Build:
DEFAULT BRANCH: master
Ran 21 May 2025 07:43AM UTC
Jobs 1
Files 519
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

21 May 2025 07:28AM UTC coverage: 87.517% (-0.003%) from 87.52%
15156182597

push

github

locker
xlog: drop xdir_type

The xdir_type passed to xdir_create() and stored in the xdir struct is
used for several purposes:
 1. To initialize xdir filetype and filename_ext.
 2. To enable force recovery for the WAL directory.
 3. To determine whether we need to store the previous vclock in meta
    (we do this for WAL files to check for gaps on recovery).
 4. To fail assertion if xdir_touch_xlog() is called for a file that
    isn't a snapshot.

P.1 can be fixed by passing a string instead of a type.

P.2 isn't really needed because we set the force_flag after initializing
the xdir. We just need to do that for the WAL dir as well.

P.3 can be fixed by adding a special flag to the xdir struct, similar
to the force_recovery flag.

P.4 isn't really needed and can be dropped.

Let's drop xdir_type so that we don't need to register a new file type
in the CE repository whenever we want to use xdir in EE.

NO_DOC=refactoring
NO_TEST=refactoring
NO_CHANGELOG=refactoring

70440 of 124135 branches covered (56.74%)

12 of 12 new or added lines in 5 files covered. (100.0%)

198 existing lines in 16 files now uncovered.

103571 of 118344 relevant lines covered (87.52%)

2777460.02 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.47
0.03% src/box/box.cc
1
88.2
-0.62% src/box/engine.c
1
95.31
-1.56% src/box/engine.h
1
95.05
-0.31% src/box/raft.c
1
92.49
0.0% src/box/vinyl.c
1
90.14
-0.08% src/box/vy_log.c
1
95.74
-0.53% src/box/vy_range.c
1
97.67
-0.78% src/lib/fakesys/fakeev.c
2
97.15
0.0% src/lib/msgpuck/msgpuck.h
3
90.9
-0.31% src/box/vy_scheduler.c
3
93.12
-0.01% src/lib/core/fiber.c
6
97.28
-0.4% src/box/lua/net_box.c
7
87.5
-1.59% src/box/xlog.h
19
90.98
0.0% src/box/memtx_engine.cc
25
89.76
0.04% src/box/wal.c
125
84.56
-0.06% src/box/xlog.c
Jobs
ID Job ID Ran Files Coverage
1 15156182597.1 21 May 2025 07:43AM UTC 519
87.52
GitHub Action Run
Source Files on build 15156182597
  • Tree
  • List 519
  • Changed 26
  • Source Changed 0
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 90d0f0c7 on github
  • Prev Build on master (#15155796901)
  • Next Build on master (#15160117700)
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