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
149094: changefeedccl: add test-only assertion for checkpoint fields invariant r=DarrylWong,asg0451 a=andyyang890
Fixes#149100
---
**roachtest: surface changefeed failures in mixed-version CDC tests**
Previously, if the changefeed failed in a mixed-version CDC test,
the test wouldn't fail until it hit the timeout. We now periodically
check for changefeed failures and fail the test if one is found.
Release note: None
---
**mixedversion: add RunE method to Test**
This patch adds a `RunE` method to `Test`. Unlike the existing `Run` function,
it will not immediately fatal the test if an error is encountered and will
instead return the error along with the test plan so that callers may decide
how to handle the error.
Release note: None
---
**changefeedccl: add test-only assertion for checkpoint fields invariant**
This patch adds a test-only assertion that we won't ever see both
checkpoint fields set on a changefeed job progress struct. It is
test-only because a bug that existed on earlier versions of 25.2
could cause both checkpoint fields to be set and so the production
code continues to discard the legacy checkpoint when that happens.
Release note: None
149260: sql: fix check external connection evaluation r=jeffswenson a=jeffswenson
Previously, `CHECK EXTERNAL CONNECTION '' WITH CONCURRENCY = (SELECT 1)` would panic because its not able to evaluate an expression containing a sub query.
Now, passing a sub query will fail with a user error.
```
CHECK EXTERNAL CONNECTION NULLIF WITH CONCURRENTLY = EXISTS ( ( TABLE error ) );
ERROR: subqueries are not allowed in check_external_connection
SQLSTATE: 0A000
```
Release note: none
Informs: #147876
Informs: #147877
149300: logictest: fix up recent change r=yuzefovich a=yuzefovich
Just merged 55108a1 made one query flaky: namely, we removed ORDER BY from `array_agg` so now the order of two items can be arbitrary. This commit changes the test to assert that the query succeeds (which this test is really about) without hitting an error.
Epic: None
Release note: None
149341: upgrades: fix order of AddHotRangeLoggerJob migration r=rafiss a=rafiss
The V25_3_AddHotRangeLoggerJob cluster version comes _after_ the V25_3_AddEstimatedLastLoginTime version. Yet, the corresponding upgrade for adding the hot ranges logger was incorrectly being done _before_ the last login time column.
informs: #148981
informs: #148998
Release note: None
Co-authored-by: Andy Yang <[email protected]>
Co-authored-by: Jeff Swenson <[email protected]>
Co-authored-by: Yahor Yuzefovich <[email protected]>
Co-authored-by: Rafi Shamim <[email protected]>
0 commit comments