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

tarantool / tarantool / 7031537567
88%

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2023 11:09AM UTC
Jobs 1
Files 507
Run time 52s
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

29 Nov 2023 10:55AM UTC coverage: 86.79% (-0.01%) from 86.804%
7031537567

push

github

sergepetrenko
box: add is_sync option

Added a new is_sync parameter to `box.begin()`, `box.commit()`, and
`box.atomic()`. To make the transaction synchronous, set the `is_sync`
option to `true`. If any value other than `true/nil` is set, for example
`is_sync = "some string"`, then an error will be thrown.

Example:

```Lua
-- Sync transactions
box.atomic({is_sync = true}, function() ... end)

box.begin({is_sync = true}) ... box.commit({is_sync = true})

box.begin({is_sync = true}) ... box.commit()

box.begin() ... box.commit({is_sync = true})

-- Async transactions
box.atomic(function() ... end)

box.begin() ... box.commit()
```

Closes #8650

@TarantoolBot document
Title: box.atomic({is_sync = true})

Added the new `is_sync` parameter to `box.atomic()`. To make the
transaction synchronous, set the `is_sync` option to `true`. Setting
`is_sync = false` is prohibited. If to set any value other than true
for example `is_sync = "some string"`, then an error will be thrown.

66005 of 118131 branches covered (0.0%)

93 of 100 new or added lines in 6 files covered. (93.0%)

70 existing lines in 18 files now uncovered.

98123 of 113058 relevant lines covered (86.79%)

2610358.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7031537567.1 29 Nov 2023 11:09AM UTC 0
86.79
GitHub Action Run
Source Files on build 7031537567
Detailed source file information is not available for this build.
  • Back to Repo
  • c3c0d439 on github
  • Prev Build on master (#7030433966)
  • Next Build on master (#7032685663)
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