tarantool / tarantool/tarantool-python
Managing Transactions
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 108
- Forks
- 51
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 1
Description
Hi,
Is there a way to manage transactions through the library?
In tarantool, transaction is started with box.begin() and committed with box.commit() functions. But I couldn't find any methods in the library to manage the transactions.
What I would like to do is, begin a transaction, make updates/inserts to a space and then commit the transaction.
I tried adding some functions like below and calling these functions from the library, but it didn't work.
function begin_transaction(dummy)
box.begin()
end
function commit_transaction(dummy)
box.commit()
end
Thank you.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points; begin by locating how the Python library invokes Tarantool functions and how spaces are updated. Compare that path with Tarantool's box.begin() and box.commit() behavior, then define completion as a supported way to group updates or inserts and commit them, with tests covering the transaction flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100