This project is mirrored from https://github.com/cockroachdb/cockroach.
Pull mirroring updated .
- Dec 23, 2024
-
-
celiala authored
staging-v24.2.7: sql: add session setting for legacy VARCHAR typing behavior
- Dec 20, 2024
-
-
Marcus Gartner authored
Release note (sql change): The `legacy_varchar_typing` session setting has been added, which reverts the changes of #133037 that cause the change in typing behavior described in #137837. Specifically, it makes type-checking and overload resolution ignore the newly added "unpreferred" overloads. This setting defaults to `on`.
-
- Dec 17, 2024
-
-
Justin Beaver authored
Release note: None Epic: None Release justification: non-production (release infra) change.
-
- Dec 06, 2024
-
-
Michael Erickson authored
release-24.2.6-rc: sql/stats: skip over histogram buckets for dropped enum values
-
- Dec 02, 2024
-
-
Michael Erickson authored
While decoding histogram upper bounds, if we discover that a physical representation of an enum value cannot be found in the enum type, assume that the value has been dropped and skip over the bucket. This allows us to continue using the most recent statistics after altering an enum type. Fixes: #67050 Release note (bug fix): Fix a bug which causes the optimizer to use stale table statistics after altering an enum type used in the table.
-
- Nov 26, 2024
-
-
Yahor Yuzefovich authored
release-24.2: randgen: limit random vector dimensions to 50 in race builds (#136180) Co-Authored-By: Yahor Yuzefovich <yahor@cockroachlabs.com>
-
Rebecca Taft authored
release-24.2: sql/stats: fix panic catching in the stats cache, show histogram (#136041) Co-Authored-By: Rebecca Taft <becca@cockroachlabs.com>
-
Yahor Yuzefovich authored
release-24.2: sql: properly print redacted error when reverting
-
- Nov 25, 2024
-
-
Yahor Yuzefovich authored
release-24.2: sql: fix FETCH ABSOLUTE 0 cursor handling (#134992) Co-Authored-By: Yahor Yuzefovich <yahor@cockroachlabs.com>
-
Yahor Yuzefovich authored
Previously, we would use 1000 as the maximum number of dimensions for random vectors. However, we just saw a test failure under race where vectorized cast between vector and collated string type took prohibitively long, leading to a timeout, so this commit reduces the max number of dimensions to 50 under race (significantly speeding up that test). Release note: None
-
Michael Butler authored
release-24.2: backup: deflake test
-
Yahor Yuzefovich authored
release-24.2: logictest: separate out stmts in upsert test
-
Rebecca Taft authored
This commit removes a top-level panic catcher from GetTableStats in the stats cache, and instead adds a couple of lower level panic catchers. The problems with the top-level catcher are: - There are other entry points into the stats cache besides GetTableStats, so it missed some cases. - Because the stats cache contains shared state, condition variables, mutexes, etc, it was possible to get into a scenario where a panic would bypass important logic (such as broadcasting when a resource is available), but the panic would be caught at the top level and leave the cache in a bad state. The new panic catchers are below the level of this shared state manipulation, but also ensure that all paths into the stats cache that might panic are covered. This commit also adds panic catching to SHOW HISTOGRAM so that decoding errors do not crash the process when running SHOW HISTOGRAM. Fixes #135940 Release note (bug fix): Fixed an issue where corrupted table statistics could cause the cockroach process to crash.
-
Austen authored
release-24.2: roachtest: minor fixes in rebalance/by-load test
-
Drew Kimball authored
release-24.2: props: handle 1-to-many mapping in FuncDepSet.RemapFrom
-
Drew Kimball authored
release-24.2: parser: allow multiple DECLARE keywords in function definitions
-
Yahor Yuzefovich authored
release-24.2: row: mark an error from streamer as StorageError
-
Yahor Yuzefovich authored
release-24.2: sql: catch panics in virtual table generators
-
Austen authored
release-24.2: roachtest: fix rebalance/by-load/*/mixed-version shared process tests
-
- Nov 23, 2024
-
-
Rafi Shamim authored
release-24.2: roachtest: ignore flaky activerecord tests
-
sumeerbhola authored
release-24.2: admission: don't read tenantInfo.id after releasing the mutex
-
Michael Erickson authored
release-24.2: stats, encoding: improve UUID-decoding error
-
- Nov 22, 2024
-
-
iskettaneh authored
release-24.2: kvcoord: Disable follower reads for TestProxyTracing
-
Yahor Yuzefovich authored
release-24.2: importer: skip TestImportComputed under race (#136023) Co-Authored-By: Yahor Yuzefovich <yahor@cockroachlabs.com>
-
Ibrahim Kettaneh authored
This commit prints the traced query when TestProxyTracing test fails. This should help with debugging the failures. References: #135493 Release note: None
-
Ibrahim Kettaneh authored
This commit disables follower reads for the test TestProxyTracing. We noticed that sometimes, the test gets slow, and by the time we issue a read request, it's served via follower reads instead of proxying it to the leaseholder. Fixes: #135493 Release note: None
-
Rail Aliiev authored
release-24.2: Update Artifact action to v4
-
Michael Erickson authored
Add a length check to `DecodeUUIDValue` and a more informative error wrapping to `DecodeUpperBound`, which will hopefully help us track down the cause of #128876. The wrapped error message looks like: ``` decoding histogram version 3 type uuid value ‹666f6f›: invalid uuid length of 2 ``` Informs: #128876 Epic: None Release note: None
-
Faizan Qazi authored
release-24.2: sql/schemachanger: handle empty schemas gracefully
-
Faizan Qazi authored
Previously, when running CREATE SCHEMA in the declartive schema changer empty schema names with end up with an assertion failure error. This was because the declarative schema change code did not handle these cases properly. When an empty schema is specified ideally a syntax error should be generated. To address this, this patch will generate the correct errors and adds logic tests. Fixes: #129676 Release note (bug fix): CREATE SCHEMA now returns the correct error if a the schema name is missing.
-
Stan Rosenberg authored
release-24.2: ci: fix private roachtest nightly
-
Yahor Yuzefovich authored
release-24.2: copy: deflake TestCopyFromTransaction
-
- Nov 21, 2024
-
-
Yahor Yuzefovich authored
We just saw a test failure where this test failed seemingly due to overloaded cluster (3 node, with external process multi-tenancy). I think we should skip it under race like we do a few other tests in this file already. Release note: None
-
Andy Yang authored
release-24.2: changefeedccl: add desc to changefeed_failed events during startup
-
Annie Pompa authored
Fixes: #134811 Fixes: #135801 Release note: None
-
Stan Rosenberg authored
It appears a change to TC wrapper scripts in [1] may have caused the `root` var. to become unbound. This PR adds the missing `source` statement. [1] https://github.com/cockroachdb/cockroach/pull/124592 Epic: none Release note: None
-
Yahor Yuzefovich authored
This commit applies the same fix as 68be1dc7 to another test. We just saw a test failure under race with `RETRY_ASYNC_WRITE_FAILURE` reason, so let's disable write pipelining in the test. Release note: None
-
- Nov 20, 2024
-
-
Yahor Yuzefovich authored
Earlier this year we changed the vectorized panic-catcher, namely, we now check a few special error types (like `StorageError`, `notInternalError`, and `internalError` upfront - to avoid more expensive stack-based checks). If we find an `internalError` _and_ it doesn't have a PG code and doesn't have `StorageError` or `notInternalError` in the causes, we now always mark the error as assertion failure. This made it so that we started receiving more sentry reports than previously; in particular, whenever we're using the streamer API, we could now get `stop.ErrUnavailable` via the following sequence of calls `ColIndexJoin.Next` -> `cFetcher.StartScan` -> `txnKVStreamer.SetupNextFetch` -> `Streamer.Enqueue`, and this would trigger a sentry report. This commit fixes this by marking an error coming from `Streamer.Enqueue` as `StorageError` which will by-pass the logic in the panic-catcher. Release note: None
-
Faizan Qazi authored
release-24.2: sql: validate zone config before multi region database DDL
-