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

tarantool / tarantool / 13543542822
88%

Build:
DEFAULT BRANCH: master
Ran 26 Feb 2025 12:25PM UTC
Jobs 1
Files 518
Run time 232min
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

26 Feb 2025 12:10PM UTC coverage: 87.46% (-0.01%) from 87.473%
13543542822

push

github

locker
txn: do not call engine rollback_statement if begin_statement failed

If vinyl_engine_begin_statement() fails, it leaves engine_savepoint
unset. As a result, vinyl_engine_rollback_statement() called afterwards
by txn_begin_stmt() assumes there were no entries in vy_tx::log before
the statement was begun and rolls back everything. If there were
statements, an attempt to roll them back triggers a crash.

Let's fix this issue by skipping invocation of the rollback_statement
engine callback in case begin_statement failed. We achieve that by
leaving txn::engine and txn::space unset on failure.

Fixes commit b9c5a1d96410 ("txn: enable cross-engine transactions").

Closes #11187
Follow-up #1803

NO_DOC=bug fix
NO_CHANGELOG=unreleased

69827 of 123293 branches covered (56.64%)

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

37 existing lines in 12 files now uncovered.

102914 of 117670 relevant lines covered (87.46%)

2204154.03 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.7
-0.07% src/box/applier.cc
1
86.49
-1.35% src/box/lua/ctl.c
1
95.05
-0.31% src/box/raft.c
1
96.12
-0.18% src/box/relay.cc
1
95.78
-0.12% src/box/replication.cc
1
92.55
0.05% src/box/vinyl.c
1
90.9
-0.1% src/box/vy_scheduler.c
2
84.32
-0.11% src/box/xlog.c
2
85.71
-9.52% src/lib/core/tt_sigaction.c
3
92.94
-0.09% src/lib/core/fiber.c
3
22.64
-0.06% src/lib/uri/uri_parser.c
20
90.76
-0.64% src/box/box.cc
Jobs
ID Job ID Ran Files Coverage
1 13543542822.1 26 Feb 2025 12:25PM UTC 518
87.46
GitHub Action Run
Source Files on build 13543542822
  • Tree
  • List 518
  • Changed 427
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • c4402f4a on github
  • Prev Build on master (#13539225908)
  • Next Build on master (#13544981541)
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