tarantool / tarantool/doc

[2pt] feedback: Transactions | Expand on transaction problem types

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

Nobody has claimed this yet.

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

Description

Product: Tarantool
Audience/target: dev
Root document: https://www.tarantool.io/en/doc/latest/book/box/atomic/
SME: @ alyapunov

Details

Problem types:
dirty read
non-repeatable read
phantom read
dirty write
cursor lost update
lost update
read skew
write skew
(Write skew is not the only possible problem)

We might expand on the transaction problem types resolved by the conflict manager, simply listing the above types.


<…>oment of the beginning of the transaction
(that is not common).
|The conflict manager makes decisions on whether and when each transaction gets
which snapshot. That allows to avoid some conflicts comparing with classical
snapshot isolation approach|.

https://www.tarantool.io/en/doc/latest/book/box/atomic/

This is vague, could you please explain this further: what decisions and what problems? Are you referring to the problem of write skews typical of SI level? Thanks

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 linked root document, especially the transaction and conflict-manager explanation. Compare it with the requested list of transaction problem types and clarify which problems the conflict manager resolves and what decisions it makes; done means the section answers those questions without the current vague wording.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.