Skip to content

Commit

Permalink
cherry pick pingcap#3146 to release-3.0
Browse files Browse the repository at this point in the history
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
  • Loading branch information
Null not nil authored and ti-srebot committed Jul 8, 2020
1 parent a1ea34c commit 821d1eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions optimistic-transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ 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.

<<<<<<< HEAD
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.
>>>>>>> e65391c... optimistic-transaction: remove reference to being "default" (#3146)
> **Note:**
>
Expand Down

0 comments on commit 821d1eb

Please sign in to comment.