Skip to content

Commit

Permalink
Merge branch 'main' into gc-marketplace-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeCRL authored Dec 17, 2024
2 parents 1343b08 + 2e191f8 commit 15b3aaa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/current/v22.2/begin-transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ When using transactions, your application should include logic to [retry transac
## Synopsis

<div>
{% remote_include https://raw.githubusercontent.com/cockroachdb/generated-diagrams/{{ page.release_info.crdb_branch_name }}/grammar_svg/begin.html %}
{% remote_include https://raw.githubusercontent.com/cockroachdb/generated-diagrams/{{ page.release_info.crdb_branch_name }}/grammar_svg/legacy_begin.html %}
</div>

## Required privileges
Expand Down
7 changes: 3 additions & 4 deletions src/current/v23.1/begin-transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ docs_area: reference.sql

The `BEGIN` [statement]({% link {{ page.version.version }}/sql-statements.md %}) initiates a [transaction]({% link {{ page.version.version }}/transactions.md %}), which either successfully executes all of the statements it contains or none at all.

{{site.data.alerts.callout_danger}}
When using transactions, your application should include logic to [retry transactions]({% link {{ page.version.version }}/transactions.md %}#transaction-retries) that are aborted to break a dependency cycle between concurrent transactions.
{{site.data.alerts.callout_info}}
When running under the default [`SERIALIZABLE`]({% link {{ page.version.version }}/demo-serializable.md %}) isolation level, your application should [use a retry loop to handle transaction retry errors]({% link {{ page.version.version }}/query-behavior-troubleshooting.md %}#transaction-retry-errors) that can occur under [contention]({{ link_prefix }}performance-best-practices-overview.html#transaction-contention).
{{site.data.alerts.end}}


## Synopsis

<div>
{% remote_include https://raw.githubusercontent.com/cockroachdb/generated-diagrams/{{ page.release_info.crdb_branch_name }}/grammar_svg/begin.html %}
{% remote_include https://raw.githubusercontent.com/cockroachdb/generated-diagrams/{{ page.release_info.crdb_branch_name }}/grammar_svg/legacy_begin.html %}
</div>

## Required privileges
Expand Down
2 changes: 1 addition & 1 deletion src/current/v23.2/begin-transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ When running under the default [`SERIALIZABLE`]({% link {{ page.version.version
## Synopsis

<div>
{% remote_include https://raw.githubusercontent.com/cockroachdb/generated-diagrams/{{ page.release_info.crdb_branch_name }}/grammar_svg/begin.html %}
{% remote_include https://raw.githubusercontent.com/cockroachdb/generated-diagrams/{{ page.release_info.crdb_branch_name }}/grammar_svg/legacy_begin.html %}
</div>

## Required privileges
Expand Down

0 comments on commit 15b3aaa

Please sign in to comment.