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

tarantool / tarantool / 18379469354
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: mandesero/gh-12389-wait-config-status
DEFAULT BRANCH: master
Ran 09 Oct 2025 02:39PM 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

09 Oct 2025 02:21PM UTC coverage: 87.563% (+0.04%) from 87.524%
18379469354

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

(cherry picked from commit 52b3d4b91)

70165 of 123613 branches covered (56.76%)

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

27 existing lines in 13 files now uncovered.

103422 of 118111 relevant lines covered (87.56%)

1591490.31 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.25
0.59% src/box/box.cc
1
96.14
-0.18% src/box/relay.cc
1
92.42
0.09% src/box/vinyl.c
1
95.48
0.82% src/box/vy_read_iterator.c
1
84.34
0.1% src/box/xlog.c
1
89.31
0.06% src/box/xrow.c
1
93.22
0.18% src/lib/core/fiber.c
1
96.15
-0.0% src/lib/salad/bps_tree.h
1
22.68
0.04% src/lib/uri/uri_parser.c
2
95.84
-0.11% src/box/iproto.cc
3
93.62
-1.6% src/box/vy_range.c
4
93.87
-0.8% src/box/xrow_update_field.c
9
88.14
-7.63% src/box/vy_regulator.c
Jobs
ID Job ID Ran Files Coverage
1 18379469354.1 09 Oct 2025 02:39PM UTC 519
87.56
GitHub Action Run
Source Files on build 18379469354
  • 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
  • 690ac017 on github
  • Prev Build on release/3.3 (#18349698706)
  • Next Build on release/3.3 (#18379526181)
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