Skip to content

Commit

Permalink
optimistic-transaction: remove reference to being "default" (pingcap#…
Browse files Browse the repository at this point in the history
…3146) (pingcap#3202)

* cherry pick pingcap#3146 to release-3.0

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>

* Update optimistic-transaction.md

Co-authored-by: Null not nil <67764674+nullnotnil@users.noreply.github.com>
  • Loading branch information
ti-srebot and Null not nil authored Jul 8, 2020
1 parent a1ea34c commit f8474aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimistic-transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ aliases: ['/docs/v3.0/optimistic-transaction/','/docs/v3.0/reference/transaction

This document introduces the principles of TiDB's optimistic transaction model. This document assumes that you have a basic understanding of [TiDB architecture](/architecture.md), [Percolator](https://ai.google/research/pubs/pub36726), and the [ACID](/glossary.md#acid) properties of transactions.

In TiDB's optimistic transaction model, the two-phase commit begins right after the client executes the `COMMIT` statement. Therefore, the write-write conflict can be observed before the transactions are actually committed.
In TiDB's optimistic transaction model, write-write conflicts are detected only at the two-phase transactional commit.

> **Note:**
>
Expand Down

0 comments on commit f8474aa

Please sign in to comment.