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

tarantool / tarantool / 18306858566
88%

Build:
DEFAULT BRANCH: master
Ran 07 Oct 2025 08:49AM UTC
Jobs 1
Files 513
Run time 4min
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

07 Oct 2025 08:33AM UTC coverage: 87.62% (-0.02%) from 87.638%
18306858566

push

github

sergepetrenko
salad: reserve block before bps_tree_insert_first_elem

The commit 51c56d9b3319 ("salad: reserve extents for matras_touch on BPS
tree operations") already made the tree self-sufficient - reserved
blocks in garbage and extents for `matras_touch` calls prior to insertion
and deletion. However, it didn't account for the addition of the first
element to the tree, which creates the root leaf - this could also trigger
`matras_touch` in `bps_tree_garbage_pop`.

However, it turns out there is no need to touch blocks before taking them
out of the garbage. There is an invariant that blocks in the garbage are
definitely not used by any read views. Although from the point of view of
the matras, they require copying and could potentially have been needed by
these read views. Let's just remove this `matras_touch` from
`bps_tree_garbage_pop`. Also let's reserve a block in the garbage before
calling `bps_tree_insert_first_elem` to bring the tree even closer to
self-sufficiency.

Closes #11788

NO_DOC=bugfix

71277 of 125129 branches covered (56.96%)

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

51 existing lines in 15 files now uncovered.

104806 of 119614 relevant lines covered (87.62%)

1357666.05 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.5
-0.07% src/box/applier.cc
1
87.81
-0.07% src/box/vy_run.c
1
65.97
5.13% src/lib/core/fio.c
1
96.15
-0.0% src/lib/salad/bps_tree.h
2
92.54
0.09% src/box/vinyl.c
2
94.78
-0.42% src/box/vy_read_iterator.c
2
84.82
-0.22% src/box/xlog.c
2
85.61
-0.72% src/lib/core/coio.c
2
93.12
0.1% src/lib/core/fiber.c
2
95.45
-4.55% src/lib/json/json.h
3
97.15
0.0% src/lib/msgpuck/msgpuck.h
4
93.43
-0.77% src/box/xrow_update_field.c
4
22.64
-0.08% src/lib/uri/uri_parser.c
4
81.82
-12.12% src/lua/minifio.c
20
90.79
-0.61% src/box/box.cc
Jobs
ID Job ID Ran Files Coverage
1 18306858566.1 07 Oct 2025 08:49AM UTC 513
87.62
GitHub Action Run
Source Files on build 18306858566
  • Tree
  • List 513
  • Changed 25
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 52b3d4b9 on github
  • Prev Build on master (#18170915760)
  • Next Build on master (#18311340221)
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