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

tarantool / tarantool / 18836661646
88%

Build:
DEFAULT BRANCH: master
Ran 27 Oct 2025 10:04AM UTC
Jobs 1
Files 514
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

27 Oct 2025 09:47AM UTC coverage: 87.61% (-0.05%) from 87.661%
18836661646

push

github

sergepetrenko
memtx: abort gaps after rollback

This commit fixes a Memtx-MVCC related bug that could lead to dirty gap
read in secondary indexes after rollback.

One REPLACE transaction (prepared but not yet committed) creates a
temporary situation where another concurrent transaction cannot see a
specific key in a secondary index (a "read gap"). When the first
transaction then rolls back, the previous (replaced) tuple becomes visible
again, and the "read gap" becomes irrelevant (the key becomes visible once
more). In this case, the second transaction, which read the gap, should be
aborted. However, it successfully commits, leading to a non-serializable
schedule.

This commit fixes the issue by adding the necessary handling during
rollback. Now, all such irrelevant gaps are aborted.

Closes #11802

NO_DOC=bugfix

69926 of 117843 branches covered (59.34%)

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

124 existing lines in 26 files now uncovered.

105029 of 119883 relevant lines covered (87.61%)

1365917.23 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.5
-0.07% src/box/applier.cc
1
88.82
-0.62% src/box/engine.c
1
96.88
-1.56% src/box/engine.h
1
92.45
0.0% src/box/vinyl.c
1
90.14
-0.08% src/box/vy_log.c
1
80.0
-2.05% src/lib/core/clock.c
1
85.15
-0.99% src/lib/small/small/slab_arena.c
1
91.68
-0.11% src/lib/swim/swim.c
1
22.64
-0.02% src/lib/uri/uri_parser.c
1
75.06
-0.25% src/main.cc
2
95.84
-0.11% src/box/iproto.cc
2
98.31
0.0% src/box/txn.h
2
84.62
-0.2% src/box/xlog.c
2
92.93
-0.2% src/lib/core/fiber.c
2
95.4
-2.3% src/lib/core/histogram.c
2
95.45
-4.55% src/lib/json/json.h
2
97.26
-0.1% src/lib/msgpuck/msgpuck.h
3
91.55
-0.58% src/box/gc.c
3
94.15
-1.06% src/box/vy_range.c
4
93.02
-0.8% src/box/xrow_update_field.c
4
93.31
-1.27% src/lib/swim/swim_io.c
8
60.42
-3.55% src/lib/core/fio.c
9
88.14
-7.63% src/box/vy_regulator.c
15
91.91
-2.09% src/box/memtx_space.c
16
90.91
-0.45% src/box/box.cc
38
97.42
0.01% src/box/memtx_tx.c
Jobs
ID Job ID Ran Files Coverage
1 18836661646.1 27 Oct 2025 10:04AM UTC 514
87.61
GitHub Action Run
Source Files on build 18836661646
  • Tree
  • List 514
  • Changed 39
  • Source Changed 0
  • Coverage Changed 39
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 2a9a463e on github
  • Prev Build on master (#18752951363)
  • Next Build on master (#18842365793)
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