Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to 21.1 session variables #10237

Merged
merged 1 commit into from
Apr 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions _includes/v20.1/misc/session-vars.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,16 @@
<td>Yes</td>
</tr>

<tr>
<td>
<code>locality</code>
</td>
<td>The location of the node. For more information, see <a href="cockroach-start.html#locality">Locality</a>.</td>
<td>Node-dependent</td>
<td>No</td>
<td>Yes</td>
</tr>

<tr>
<td>
<code>node_id</code>
Expand Down
10 changes: 10 additions & 0 deletions _includes/v20.2/misc/session-vars.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,16 @@
<td>Yes</td>
</tr>

<tr>
<td>
<code>locality</code>
</td>
<td>The location of the node. For more information, see <a href="cockroach-start.html#locality">Locality</a>.</td>
<td>Node-dependent</td>
<td>No</td>
<td>Yes</td>
</tr>

<tr>
<td>
<code>node_id</code>
Expand Down
34 changes: 34 additions & 0 deletions _includes/v21.1/misc/session-vars.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,18 @@
<td>Yes</td>
</tr>

<tr>
<td>
<code>default_transaction_use_follower_reads</code>
</td>
<td><span class="version-tag">New in v21.1</span>: If set to <code>on</code>, all read-only transactions use <a href="as-of-system-time.html"><code>AS OF SYSTEM TIME follower_read_timestamp()</code></a>, to allow the transaction to use <a href="follower-reads.html">follower reads</a>.<br>If set to <code>off</code>, read-only transactions will only use follower reads if an <code>AS OF SYSTEM TIME</code> clause is specified in the statement, with an interval of at least 4.8 seconds.</td>
<td>
<code>off</code>
</td>
<td>Yes</td>
<td>Yes</td>
</tr>

<tr>
<td>
<code>disallow_full_table_scans</code>
Expand All @@ -141,6 +153,18 @@
<td>Yes</td>
</tr>

<tr>
<td>
<code>enable_drop_enum_value</code>
</td>
<td>Indicates whether <code>DROP VALUE</code> clauses are enabled for <a href="alter-type.html"><code>ALTER TYPE</code></a> statements.</td>
<td>
<code>off</code>
</td>
<td>Yes</td>
<td>Yes</td>
</tr>

<tr>
<td>
<a name="enable-implicit-select-for-update"></a>
Expand Down Expand Up @@ -232,6 +256,16 @@
<td>Yes</td>
</tr>

<tr>
<td>
<code>locality</code>
</td>
<td>The location of the node. For more information, see <a href="cockroach-start.html#locality">Locality</a>.</td>
<td>Node-dependent</td>
<td>No</td>
<td>Yes</td>
</tr>

<tr>
<td>
<code>node_id</code>
Expand Down