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

tarantool / tarantool / 24879687761
88%

Build:
DEFAULT BRANCH: master
Ran 24 Apr 2026 08:37AM UTC
Jobs 1
Files 525
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

24 Apr 2026 08:19AM UTC coverage: 87.696% (+0.02%) from 87.672%
24879687761

push

github

sergepetrenko
txn: forbid waiting for acks on fully local transactions

We recommend making all spaces synchronous (including the system ones)
whenever the user has at least one of them. However, once `_truncate`
becomes synchronous, it is impossible to truncate any local space,
either on the master or on a replica. It fails with the error: `An
attempt to commit a fully local transaction synchronously`.

The `_truncate` space itself is unusual: it marks rows related to local
spaces as GROUP_LOCAL (they are not replicated), while all other rows
remain GROUP_GLOBAL. As a result, when we truncate a local space all rows
in the transaction are local, so the error is thrown.

We should not mark such transactions as synchronous. Instead, it should
follow the asynchronous transaction path: add them to limbo iff it's not
empty. Let's filter such case.

The commit also fixes the incorrect comment below, which says that we
don't check for fully local transaction, when we clearly do.

Closes #12585

NO_DOC=bugfix

Co-authored-by: Serge Petrenko <sergepetrenko@tarantool.org>

70717 of 118958 branches covered (59.45%)

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

22 existing lines in 12 files now uncovered.

106353 of 121275 relevant lines covered (87.7%)

1352373.48 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
91.27
0.37% src/box/box.cc
4
93.4
-0.8% src/box/xrow_update_field.c
4
93.31
-1.27% src/lib/swim/swim_io.c
2
85.79
-0.11% src/box/xlog.c
1
96.32
0.0% src/box/relay.cc
1
92.0
-0.1% src/box/vy_scheduler.c
1
93.11
-0.1% src/lib/core/fiber.c
1
60.42
-0.42% src/lib/core/fio.c
1
90.67
-1.33% src/lib/core/iostream.c
1
96.95
0.0% src/lib/msgpuck/msgpuck.h
1
99.23
-0.15% src/lib/raft/raft.c
1
91.68
-0.11% src/lib/swim/swim.c
Jobs
ID Job ID Ran Files Coverage
1 24879687761.1 24 Apr 2026 08:38AM UTC 525
87.7
GitHub Action Run
Source Files on build 24879687761
  • Tree
  • List 525
  • Changed 29
  • Source Changed 0
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 6adf3f40 on github
  • Prev Build on master (#24878947182)
  • Next Build on master (#24892723840)
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