tarantool / tarantool/tarantool-python

Managing Transactions

オープン
#163 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

8sp feature
主要言語
Python
スター
108
フォーク
51
平均マージ
1日 8時間
マージ済み PR(30日)
1

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

この issue ではファイル、テスト、エントリポイントが指定されていないため、まず Python ライブラリが Tarantool の関数をどのように呼び出し、spaces をどのように更新するかを特定します。その経路を Tarantool の box.begin() と box.commit() の動作と比較し、更新または挿入をグループ化してコミットするサポートされた方法を提供し、トランザクションのフローを網羅するテストを含めることを完了条件とします。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
databases
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。