You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
142927: builtins,workloadindexrec: Add fingerprint id to workload_index_recs … r=kyle-a-wong a=kyle-a-wong
…builtin
Adds another column to the workload_index_recs builtin that contains an array of fingerprint ids that the recommended indexes were originally recommended for.
Resolves: #141947
Epic: CRDB-42980
Release note (sql change): Changes the return type of the workload_index_recs builtin to be two columns. The first column, "index_rec", remains a string type that contains the index recommndation. The second column, "fingerprint_ids", is new and has the "byte[]" type.
143523: sql: validate undesired zone configs for secondary tenants r=annrpom a=annrpom
### sql: add setting for constraint validation for secondary tenants
This patch adds a cluster setting, ``sql.zone_configs.max_replicas_per_region,
that helps prevent virtual clusters from setting undesired zone configs. This
setting defines the max number of replicas that can be configured for a
single region (0 for unlimited).
Epic: none
Informs: #142856
Release note: None
---
### sql: add setting to validate privs for secondary tenants
This patch adds a cluster setting,
`sql.zone_configs.default_range_modifiable_by_non_root.enabled`, to
help prevent virtual clusters from setting undesired zone configs.
This settings determines if non-root users on these clusters should
be restricted from modifying the `default` range. Other named ranges
are not allowed to be modified as a secondary tenant.
Epic: none
Fixes: #142856
Release note: None
143578: kvserver: don't generate large writes during lock durability upgrade r=arulajmani a=stevendanna
Since this is still a best-effort feature for the time being, we want to protect against writing too many locks during transfer or merge requests.
Epic: none
Release note: None
143825: roachtest/pg_regress: accept recent diff r=yuzefovich a=yuzefovich
**roachtest/pg_regress: adjust runner to remove table IDs**
I've seen a particular unimplemented error result in the diffs churn
because it includes table IDs which can change between run, for some
reason. Let's just remove the table ID from the error.
**roachtest/pg_regress: accept recent diff**
Fixes: #143940.
Release note: None
Co-authored-by: Kyle Wong <[email protected]>
Co-authored-by: Annie Pompa <[email protected]>
Co-authored-by: Steven Danna <[email protected]>
Co-authored-by: Yahor Yuzefovich <[email protected]>
Copy file name to clipboardExpand all lines: docs/generated/sql/functions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1554,9 +1554,9 @@ the locality flag on node startup. Returns an error if no region is set.</p>
1554
1554
</span></td><td>Immutable</td></tr>
1555
1555
<tr><td><aname="unnest"></a><code>unnest(input: anyelement[]) → anyelement</code></td><td><spanclass="funcdesc"><p>Returns the input array as a set of rows</p>
1556
1556
</span></td><td>Immutable</td></tr>
1557
-
<tr><td><aname="workload_index_recs"></a><code>workload_index_recs() →<ahref="string.html">string</a></code></td><td><spanclass="funcdesc"><p>Returns set of index recommendations</p>
1557
+
<tr><td><aname="workload_index_recs"></a><code>workload_index_recs() →tuple{string AS index_rec, bytes[] AS fingerprint_ids}</code></td><td><spanclass="funcdesc"><p>Returns index recommendations and the fingerprint ids that the indexes will impact</p>
1558
1558
</span></td><td>Immutable</td></tr>
1559
-
<tr><td><aname="workload_index_recs"></a><code>workload_index_recs(timestamptz: <ahref="timestamp.html">timestamptz</a>) →<ahref="string.html">string</a></code></td><td><spanclass="funcdesc"><p>Returns set of index recommendations</p>
1559
+
<tr><td><aname="workload_index_recs"></a><code>workload_index_recs(timestamptz: <ahref="timestamp.html">timestamptz</a>) →tuple{string AS index_rec, bytes[] AS fingerprint_ids}</code></td><td><spanclass="funcdesc"><p>Returns index recommendations and the fingerprint ids that the indexes will impact</p>
0 commit comments