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
153372: server: add Transaction Diagnostic Bundle APIs r=kyle-a-wong a=dhartunian
This commit adds 3 new endpoints to the status server to support:
- creating transaction diagnostic bundle requests
- cancelling transaction diagnostic bundle requests
- listing all outstanding transaction diagnostic bundle requests
A new `TxnDiagnosticsRequester` interface is defined in
`transaction_diagnostic_requests.go` which the `TxnRegistry` now
implements to support the create and cancel operations since they need
to interact with the registry at run-time.
Resolves: [CRDB-53544](https://cockroachlabs.atlassian.net/browse/CRDB-53544)
Epic: [CRDB-53541](https://cockroachlabs.atlassian.net/browse/CRDB-53541)
Release note: None
153916: changefeedccl: support EXCLUDE TABLES in DB-level feeds r=andyyang890 a=KeithCh
Support the ability to exclude tables from being watched in a
database-level feed. An example usage is:
CREATE DATABASE FOR CHANGEFEED defaultdb EXCLUDE TABLES
foo,fizz.buzz,defaultdb.bar.tab,notdefaultdb.bar.tab;
The table names above in the EXCLUDE TABLES list will be resolved as
such:
Non-qualified table name foo:
- defaultdb.public.foo
Partially-qualified table name fizz.buzz:
- defaultdb.fizz.buzz
Fully-qualified table name defaultdb.bar.tab:
- defaultdb.bar.tab
Fully-qualified table name notdefaultdb.bar.tab:
- Statement error; changefeed job will not be created
Note that partially qualified table names in the form \<database\>.\<table\>
are not supported. Partially qualfied table names are always assumed to
be \<schema\>.\<table\>.
Resolves: #147424
Release note: none
153966: go.mod: bump Pebble to e1277c42a560 r=RaduBerinde a=RaduBerinde
Changes:
* [`e1277c42`](cockroachdb/pebble@e1277c42) cache: separate hit/miss metrics by level
* [`bf48872f`](cockroachdb/pebble@bf48872f) block: hide cache hits/misses from the level checker
* [`0c63ea83`](cockroachdb/pebble@0c63ea83) metrics: more granular block cache metrics
* [`96bb7581`](cockroachdb/pebble@96bb7581) metricsutil: add Window data structure
* [`8b8ee488`](cockroachdb/pebble@8b8ee488) cache: improve BenchmarkCacheGet
* [`4f3e287b`](cockroachdb/pebble@4f3e287b) pebble: deflake TestCompactionDeleteOnlyHints
* [`6c6fd755`](cockroachdb/pebble@6c6fd755) cache: don't mark blocks as accessed for background work
* [`6e9ddf29`](cockroachdb/pebble@6e9ddf29) cockroachkvs: avoid cockroachKeysSeeker.init allocation
* [`f3afdb60`](cockroachdb/pebble@f3afdb60) cockroachkvs: add BenchmarkInitDataBlockMetadata
* [`489b133b`](cockroachdb/pebble@489b133b) colblk: remove BlockDecoder allocation
* [`5c08fa34`](cockroachdb/pebble@5c08fa34) colblk: add BenchmarkInitDataBlockMetadata
* [`998a55aa`](cockroachdb/pebble@998a55aa) Revert "cache: use malloc instead of calloc"
* [`3c70d62d`](cockroachdb/pebble@3c70d62d) db: reduce numOps in TestWALHardCrashRandomized
* [`9086c4be`](cockroachdb/pebble@9086c4be) db: reduce numOps in TestWALFailoverRandomized
* [`4aab1726`](cockroachdb/pebble@4aab1726) db: remove duplicate TestFileCacheClockPro
* [`73bba8fb`](cockroachdb/pebble@73bba8fb) db: reduce TestOpenCloseOpenClose configurations
* [`8e019e4e`](cockroachdb/pebble@8e019e4e) db: make TestCompaction/value_separation faster
* [`1e1841c7`](cockroachdb/pebble@1e1841c7) db: make TestCompaction/l0_to_lbase_compaction faster
Release note: none.
Epic: none.
154070: batcheval: make TestExportCmd work with secondary tenants r=stevendanna a=arulajmani
Closes#109429
Release note: None
154161: cli: skip TestTSDumpUploadWithEmbeddedMetadataDataDriven under race r=kyle-a-wong a=kyle-a-wong
This test fails in bazel under race, so we are skipping for now.
Part-of: CRDB-53617
Epic: None
Release note: None
154168: roachtest: fix log file in slow-drain test r=miraradeva a=miraradeva
The test was looking for a specific log message, which recently moved to the KV distribution channel. This commit points the test to the right log file.
Fixes: #154153Fixes: #154138
Release note: None
154169: ci,ui: fix cluster-ui-release "check if published" step r=kyle-a-wong a=kyle-a-wong
The check for whether a version exists in npm is too liberal with its pattern matching, resulting in pre-release branches to cause other releases to fail to publish.
Now, a pre-release version will not cause a potential failure in publish a regular version release.
Epic: None
Release note: None
Updated script on the right, old on the left:
<img width="1715" height="471" alt="image" src="https://github.com/user-attachments/assets/f01c415d-d176-40d5-af83-ba169429813c" />
Co-authored-by: David Hartunian <[email protected]>
Co-authored-by: Keith Chow <[email protected]>
Co-authored-by: Radu Berinde <[email protected]>
Co-authored-by: Arul Ajmani <[email protected]>
Co-authored-by: Kyle Wong <[email protected]>
Co-authored-by: Mira Radeva <[email protected]>
| transaction_fingerprint_id |[bytes](#cockroach.server.serverpb.CreateTransactionDiagnosticsReportResponse-bytes)|| TODO(davidh): should these be strings or int64??? I think bytes is most correct. |[reserved](#support-status)|
| canceled |[bool](#cockroach.server.serverpb.CancelTransactionDiagnosticsReportResponse-bool)|| canceled indicates whether the request for the given fingerprint was actually canceled. |[reserved](#support-status)|
4834
+
| error |[string](#cockroach.server.serverpb.CancelTransactionDiagnosticsReportResponse-string)|| error is set only if canceled is false. |[reserved](#support-status)|
4835
+
4836
+
4837
+
4838
+
4839
+
4840
+
4841
+
4842
+
## TransactionDiagnosticsRequests
4843
+
4844
+
`GET /_status/txndiagreports`
4845
+
4846
+
4847
+
4848
+
Support status: [reserved](#support-status)
4849
+
4850
+
#### Request Parameters
4851
+
4852
+
4853
+
4854
+
4855
+
4856
+
4857
+
4858
+
4859
+
4860
+
4861
+
4862
+
4863
+
4864
+
#### Response Parameters
4865
+
4866
+
4867
+
4868
+
4869
+
4870
+
4871
+
4872
+
| Field | Type | Label | Description | Support status |
| transaction_fingerprint_id |[bytes](#cockroach.server.serverpb.TransactionDiagnosticsReportsResponse-bytes)|| TODO(davidh): should these be strings or int64??? I think bytes is most correct. |[reserved](#support-status)|
0 commit comments