tarantool / tarantool/doc

[2pt] feedback: box.atomic() | Tarantool

Open
#2,399 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

add details reference server
Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Description

Product: Tarantool
Root document: https://www.tarantool.io/ru/doc/latest/reference/reference_lua/box_txn_management/atomic/
SME: @ alyapunov

Details

<…>

box.atomic()

box.|atomic|(tx-function[, function-arguments])
Выполнение функции так, как <…>

https://www.tarantool.io/ru/doc/latest/reference/reference_lua/box_txn_management/atomic/

Не раскрыто, что является сигналом к откату: только рассыпание функции или возврат {nil, err} - тоже ошибка?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the box.atomic() section in the linked Tarantool root document and review its description of transaction rollback. Clarify whether rollback is triggered only by an exception or also by returning {nil, err}; the documentation is done when this behavior is explicitly stated.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.