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

tarantool / tarantool / 14306123816
88%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2025 10:14AM UTC
Jobs 1
Files 518
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 Apr 2025 09:49AM UTC coverage: 87.493% (-0.006%) from 87.499%
14306123816

push

github

locker
box: release array and schema in box_insert_arrow

According to the documentation to the Apache Arrow C data interface:

> Consumers MUST call a base structure’s release callback when they
> won’t be using it anymore[^1]

`box_insert_arrow()` is clearly a consumer so it must move or release
the input Arrow array and schema to conform to the specification while
currently it does not. This patch fixes this issue.

Note that for performance reasons (to avoid extra copying), the engine
callback that implements batch insertion should be allowed to move the
input Arrow array and schema to a private location. To allow for that,
we have to move the code that encodes the input Arrow in the IPC format
for xlog from `txn_add_redo()` to `space_execute_insert_arrow()`.

Closes #11338

[^1]: https://arrow.apache.org/docs/format/CDataInterface.html#release-callback-semantics-for-consumers

NO_DOC=bug fix
NO_CHANGELOG=batch insertion isn't implemented in CE

70180 of 123761 branches covered (56.71%)

17 of 20 new or added lines in 3 files covered. (85.0%)

243 existing lines in 21 files now uncovered.

103284 of 118048 relevant lines covered (87.49%)

2968505.29 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.47
-0.21% src/box/space.c
2
91.29
-0.08% src/box/box.cc

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.47
-0.21% src/box/space.c
1
93.67
0.0% src/box/txn_limbo.c
1
87.5
-1.79% src/box/xlog.h
1
91.68
0.0% src/lib/swim/swim.c
2
90.88
-0.18% src/box/memtx_engine.cc
2
84.53
-0.72% src/lib/core/coio.c
2
82.22
-4.44% src/lib/core/latch.h
3
90.78
-0.15% src/box/applier.cc
3
91.29
-0.08% src/box/box.cc
3
91.7
-0.58% src/box/gc.c
3
94.68
-1.06% src/box/vy_range.c
3
97.46
0.1% src/lib/msgpuck/msgpuck.h
3
22.64
-0.06% src/lib/uri/uri_parser.c
4
81.82
-12.12% src/lua/minifio.c
6
95.2
-1.25% src/box/vy_read_iterator.c
6
87.37
-0.34% src/box/vy_run.c
8
93.54
-0.31% src/box/lua/space.cc
9
94.97
-0.18% src/box/index_def.c
9
83.93
-3.83% src/box/index_def.h
27
91.9
-2.31% src/box/memtx_space.c
146
92.54
-0.12% src/box/vinyl.c
Jobs
ID Job ID Ran Files Coverage
1 14306123816.1 07 Apr 2025 10:14AM UTC 518
87.49
GitHub Action Run
Source Files on build 14306123816
  • Tree
  • List 518
  • Changed 41
  • Source Changed 0
  • Coverage Changed 41
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • bf5bce36 on github
  • Prev Build on master (#14266750274)
  • Next Build on master (#14310595203)
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