Skip to content

box.atomic({is_sync = true}) #3885

Open
@TarantoolBot

Description

@TarantoolBot

Product: Tarantool
Since: 3.0
Root document:

SME: @ yanshtunder

Details

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.
Requested by @yanshtunder in tarantool/tarantool@c3c0d43.

Definition of done

  • The new parameter is described in the box.atomic() reference
  • The usage is shown in examples where applicable

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.0reference[location] Tarantool manual, Reference parttransactions[area] Related to Transactions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions