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
155555: roachtest: increase server.sqlliveness.ttl in copyfrom r=yuzefovich a=yuzefovich
`copyfrom/atomic` often fails with `RETRY_COMMIT_DEADLINE_EXCEEDED` error. Based on some guidance from KV folks, it sounds like (apart from the closed TS system that has already been adjusted) the most likely explanation is that the lease on a descriptor has expired while the txn was running. Before 24.1 we used expiry based leasing, then we introduced session based leasing, and the migration to only use that has been completed in the beginning of the year. If I'm reading the code right, then the lease duration depends on the SQL liveness TTL, so this commit bumps the relevant cluster setting from 40s to 5m to give enough time for atomic COPY to finish.
I did 50 runs of the test, and all of them passed.
Fixes: #155300.
Release note: None
155563: importer: unskip all tests with test tenants r=yuzefovich a=yuzefovich
This mostly involved ensuring that the right ApplicationLayerInterface is being used, or the test just worked. Also a couple of tests explicitly control the tenants, so mark those accordingly.
My hypothesis is that some tests have been fixed long time ago in 4fd9f70 (`tc.ServerConn` now returns the right connection), but I didn't verify it.
Only `TestImportIntoCSV` needs a special callout. In that test we have some expected errors, and some of them when encountered by the tenants can be retried. In order to speed up the test we reduce the retry duration from 2 minutes to 2 seconds.
Additionally remove some SQLMemoryPoolSize overrides that now equal the default of 256MiB (which increased from 128MiB a couple years ago).
Fixes: #107141.
Fixes: #142803.
Release note: None
155624: backup: move backup index logic to backupinfo pkg r=kev-cao a=msbutler
The backup index is part of the backup metadata, whose logic lives in the backupinfo package. This refactor also enables subsequent refactor to unify backup metadata writing for regular backups and compacted backups.
Epic: none
Release note: none
155626: dev-inf: Fix jq command to handle JSON array format r=rickystewart a=ajstorm
The execution file is a JSON array, not JSONL format. Updated all
extraction steps to use '.[]' to iterate over the array before
filtering by type.
Changed from: jq -r 'select(.type == "result") | .result'
Changed to: jq -r '.[] | select(.type == "result") | .result'
This fixes the error: "Cannot index array with string 'type'"
Tested locally with both array and JSONL formats to verify the fix works.
Epic: none
Release note: none
Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
Co-authored-by: Michael Butler <butler@cockroachlabs.com>
Co-authored-by: Adam Storm <storm@cockroachlabs.com>
0 commit comments