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

tarantool / tarantool / 10420724930
88%

Build:
DEFAULT BRANCH: master
Ran 16 Aug 2024 01:40PM UTC
Jobs 1
Files 514
Run time 1min
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

16 Aug 2024 01:26PM UTC coverage: 87.19% (+0.002%) from 87.188%
10420724930

push

github

sergepetrenko
txn: introduce wait-none mode for commit

@TarantoolBot document
Title: New `box.commit` and `box.atomic` option `wait`

Target: 3.2.0.

It can be passed like this: `box.commit({wait = ...})` or
`box.atomic({wait = ...}, ...)`. The possible values:
- `'complete'` - default behaviour, block the current fiber until
    the txn is fully finished.
- `'submit'` - send the txn to the journal, release the fiber.
    Completion happens asynchronously. Can block the fiber if the
    journal queue is full, until the txn can fit into the queue.
- `'none'` - send the txn to the journal if the journal queue has
    space, otherwise fail right away. Commit with this option
    never yields.

In case of a Lua error being thrown the txn is rolled back, like
with the default behaviour, regardless of its wait mode.

The journal max size can be found and changed in
`box.cfg.wal_queue_max_size`. It affects when the wait modes
`submit` blocks and `none` fails.

Closes #67

68285 of 121559 branches covered (56.17%)

7 of 7 new or added lines in 2 files covered. (100.0%)

308 existing lines in 23 files now uncovered.

100926 of 115754 relevant lines covered (87.19%)

2445432.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10420724930.1 16 Aug 2024 01:40PM UTC 0
87.19
GitHub Action Run
Source Files on build 10420724930
Detailed source file information is not available for this build.
  • Back to Repo
  • 2c66624d on github
  • Prev Build on master (#10418356500)
  • Next Build on master (#10424287623)
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