-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add interactive transaction support in net.box #2311
Comments
art-dr
added
server
[area] Task relates to Tarantool's server (core) functionality
feature
A new functionality
reference
[location] Tarantool manual, Reference part
labels
Sep 14, 2021
art-dr
changed the title
add interactive transaction support in net.box
[3pt?] add interactive transaction support in net.box
Sep 14, 2021
art-dr
changed the title
[3pt?] add interactive transaction support in net.box
[5pt] add interactive transaction support in net.box
Sep 22, 2021
This is described in the Streams chapter. We might need to add links and short descriptions on the net.box page. |
12 tasks
Related issue: #2308 |
rindblack15
changed the title
[5pt] add interactive transaction support in net.box
add interactive transaction support in net.box
May 16, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Product: Tarantool
Since: 2.10.0-beta1
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/net_box/
SME: @ alyapunov
Details
Implement
begin
,commit
androllback
methods for stream objectin
net.box
, which allows to begin, commit and rollback transactionaccordingly. Now there are multiple ways to begin, commit and rollback
transaction from
net.box
: using appropriate stream methods, using 'callor 'eval' methods or using
executemethod with sql transaction syntax. User can mix these methods, for example, start transaction using
stream:begin(), and commit transaction using
stream:call('box.commit')`or stream:execute('COMMIT').
Simple example of using interactive transactions via iproto from net.box:
Different examples of using streams you can find in
gh-5860-implement-streams-in-iproto.test.lua (https://github.com/tarantool/tarantool/blob/master/test/box/net.box_iproto_transactions_over_streams.test.lua)
Requested by @EvgenyMekhanik in tarantool/tarantool@f9ca802.
Related to #2308 and #2310
The text was updated successfully, but these errors were encountered: