*: refactor transaction documents#2088
Merged
anotherrachel merged 18 commits intoApr 3, 2020
Merged
Conversation
aa2cba1 to
05a6b38
Compare
added 2 commits
March 24, 2020 18:56
Contributor
Author
|
@youjiali1995 PTAL |
Contributor
Author
anotherrachel
commented
Mar 25, 2020
| TiDB internally shards table into small range-based chunks that we refer to as "Regions". Each Region defaults to approximately 100MiB in size, and TiDB uses a Two-phase commit internally to ensure that Regions are maintained in a transactionally consistent way. | ||
|
|
||
| Transactions in TiDB are strongly consistent, with snapshot isolation level consistency. For more information, see transaction [behavior and performance differences](/reference/transactions/transaction-model.md). This makes TiDB more comparable to traditional relational databases in semantics than some of the newer NoSQL systems using eventual consistency. | ||
| Transactions in TiDB are strongly consistent, with snapshot isolation level consistency. For more information, see transaction [behavior and performance differences](/reference/transactions/transaction-isolation.md). This makes TiDB more comparable to traditional relational databases in semantics than some of the newer NoSQL systems using eventual consistency. |
Contributor
Author
There was a problem hiding this comment.
This change is irrelevant to the Chinese version.
Generally, I will replace transaction-model.md(now deleted) with transaction-optimistic.md. But here, according to the context, I replace it with transaction-isolation.md.
youjiali1995
approved these changes
Mar 25, 2020
youjiali1995
left a comment
There was a problem hiding this comment.
LGTM. But it doesn't apply to v2.1.
Contributor
Author
Sure. I will make dedicated changes when this PR is merged. Thanks! |
yikeke
reviewed
Apr 2, 2020
yikeke
reviewed
Apr 2, 2020
yikeke
reviewed
Apr 2, 2020
Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>
yikeke
reviewed
Apr 3, 2020
Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>
1 task
Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>
Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>
Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>
…el/docs into refactor-transaction
sre-bot
pushed a commit
to sre-bot/docs
that referenced
this pull request
Apr 3, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
4 tasks
Contributor
|
cherry pick to release-2.1 in PR #2156 |
sre-bot
pushed a commit
to sre-bot/docs
that referenced
this pull request
Apr 3, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
4 tasks
Contributor
|
cherry pick to release-3.0 in PR #2157 |
sre-bot
pushed a commit
to sre-bot/docs
that referenced
this pull request
Apr 3, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
4 tasks
Contributor
|
cherry pick to release-3.1 in PR #2158 |
sre-bot
added a commit
that referenced
this pull request
Apr 3, 2020
anotherrachel
pushed a commit
that referenced
this pull request
Apr 3, 2020
sre-bot
added a commit
that referenced
this pull request
Apr 3, 2020
jackysp
pushed a commit
to jackysp/docs
that referenced
this pull request
Apr 15, 2020
* tools: add br tool doc and refine mydumper/loader doc * tools: add diagram * tools: adjust image size * tools: refine language * tools: refine language * maintain: update content * maintain: refine language * maintain: fix a typo * maintain: add working principles * maintain: refine introduction * maintain: refine format and layout * maintain: address comments from pingcap#2088 * maintainL refine language * maintain: minor language change * address comments * address comments * address comments * maintain: fix a typo * maintain: fix grammar error * maintain: fix a typo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is changed, added or deleted? (Required)
Original PR: #1695 (closed)
This PR refactors and updates transaction-related documents, including:
Version differences: pingcap/docs-cn#2255
Which TiDB version(s) do your changes apply to? (Required)
If you select two or more versions from above, to trigger the bot to cherry-pick this PR to your desired release version branch(es), you must add corresponding labels such as needs-cherry-pick-3.1, needs-cherry-pick-3.0, and needs-cherry-pick-2.1.
What is the related PR or file link(s)?
TiKV | Distributed transaction
Shirly's Blog | Transaction in TIDB
Transaction in TiDB
Transaction Model | TiDB Documentation
Automatic retry and transactional anomalies caused by automatic retry