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
151871: backup: teach ResolveBackupManifests to use the backup index r=msbutler a=kev-cao
This commit teaches `ResolveBackupManifests` to use the backup index, which prevents unnecessarily reads of backup manifests that are elided during restore. Since backups that are not indexed are still considered restorable in this version, the legacy path of loading all manifests is still preserved and can be removed in 26.2.
Epic: CRDB-47942Fixes: #150330, #150331, #150332
Release note: None
152861: sql: add transaction diagnostic bundle tables r=dhartunian a=dhartunian
This commit contains a schema change and an upgrade migration to begin adding support for transaction diagnostic bundles.
The new functionality will maintain diagnostic bundle requests and record completed diagnostics very similar to statement diagnostics. We have a `transaction_diagnostic_requests` table which holds pending requests and marks them as completed. Future PRs will poll this table to update the in-memory registry of pending requests to match against incoming SQL. We also have a `transaction_diagnostics` table which holds rows for completed diagnostics requests.
Notable details:
- Transaction diagnostic requests store a string array of all the fingerprints in the transaction to match incoming statements.
- Completed transaction diagnostics store pointers to the statement diagnostic bundles within, and chunks that contain the trace for the entire transaction.
- Statement diagnostic bundles will now potentially point to a "parent" transaction diagnostic bundle
Resolves: CRDB-53545
Epic: CRDB-53541
Release note: None
152932: sql: enforce schema_locked for TRUNCATE r=fqazi a=fqazi
Previously, we were completely ignoring schema_locked for the TRUNCATE command, which could changefeeds to break. To address this, this patch blocks TRUNCATE on schema_locked tables.
Fixes: #151941
Release note (bug fix): schema_locked was not enforced on the TRUNCATE command, which could cause changefeed jobs to fail.
153189: roachtest: deflake online restore recovery roachtest r=msbutler a=kev-cao
The online restore recovery roachtest would very occasionally flake due to it detecting the download job having succeeded. It turns out that the download job was not succeeding, but to find the job, we match on the description containing "Background Data Download", which the GC job that runs to cleanup after download contains. So if the download job failed fast enough, the query to find the download job would match on the GC job instead. This patch updates the query to only look for restore jobs instead.
Fixes: #151973
Release note: None
Co-authored-by: Kevin Cao <[email protected]>
Co-authored-by: David Hartunian <[email protected]>
Co-authored-by: Faizan Qazi <[email protected]>
Co-authored-by: Kevin Cao <[email protected]>
Copy file name to clipboardExpand all lines: docs/generated/settings/settings-for-tenants.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -421,4 +421,4 @@ trace.zipkin.collector string the address of a Zipkin instance to receive trace
421
421
ui.database_locality_metadata.enabled boolean true if enabled shows extended locality data about databases and tables in DB Console which can be expensive to compute application
422
422
ui.default_timezone string the default timezone used to format timestamps in the ui application
423
423
ui.display_timezone enumeration etc/utc the timezone used to format timestamps in the ui. This setting is deprecatedand will be removed in a future version. Use the 'ui.default_timezone' setting instead. 'ui.default_timezone' takes precedence over this setting. [etc/utc = 0, america/new_york = 1] application
424
-
version version 1000025.3-upgrading-to-1000025.4-step-008 set the active cluster version in the format '<major>.<minor>' application
424
+
version version 1000025.3-upgrading-to-1000025.4-step-010 set the active cluster version in the format '<major>.<minor>' application
Copy file name to clipboardExpand all lines: docs/generated/settings/settings.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -379,6 +379,6 @@
379
379
<tr><td><divid="setting-ui-database-locality-metadata-enabled" class="anchored"><code>ui.database_locality_metadata.enabled</code></div></td><td>boolean</td><td><code>true</code></td><td>if enabled shows extended locality data about databases and tables in DB Console which can be expensive to compute</td><td>Basic/Standard/Advanced/Self-Hosted</td></tr>
380
380
<tr><td><divid="setting-ui-default-timezone" class="anchored"><code>ui.default_timezone</code></div></td><td>string</td><td><code></code></td><td>the default timezone used to format timestamps in the ui</td><td>Basic/Standard/Advanced/Self-Hosted</td></tr>
381
381
<tr><td><divid="setting-ui-display-timezone" class="anchored"><code>ui.display_timezone</code></div></td><td>enumeration</td><td><code>etc/utc</code></td><td>the timezone used to format timestamps in the ui. This setting is deprecatedand will be removed in a future version. Use the 'ui.default_timezone' setting instead. 'ui.default_timezone' takes precedence over this setting. [etc/utc = 0, america/new_york = 1]</td><td>Basic/Standard/Advanced/Self-Hosted</td></tr>
382
-
<tr><td><divid="setting-version" class="anchored"><code>version</code></div></td><td>version</td><td><code>1000025.3-upgrading-to-1000025.4-step-008</code></td><td>set the active cluster version in the format '<major>.<minor>'</td><td>Basic/Standard/Advanced/Self-Hosted</td></tr>
382
+
<tr><td><divid="setting-version" class="anchored"><code>version</code></div></td><td>version</td><td><code>1000025.3-upgrading-to-1000025.4-step-010</code></td><td>set the active cluster version in the format '<major>.<minor>'</td><td>Basic/Standard/Advanced/Self-Hosted</td></tr>
0 commit comments