Skip to content

Commit

Permalink
Sync notes for cockroachdb/cockroach#106515 across v23.2, v23.1, v22.…
Browse files Browse the repository at this point in the history
…2 releases
  • Loading branch information
mdlinville committed Sep 22, 2023
1 parent 8d2be56 commit ad49531
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/current/_includes/releases/v22.2/v22.2.13.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Release Date: August 8, 2023
- `CREATE TABLE t AS SELECT * FROM [SHOW PARTITIONS FROM TABLE tbl];`
- `CREATE TABLE t AS SELECT * FROM [SHOW PARTITIONS FROM INDEX tbl@tbl_pkey];` [#107227][#107227]
- The `pg_get_serial_sequence` built-in [function](https://www.cockroachlabs.com/docs/v22.2/functions-and-operators) can now handle mixed-case names correctly. [#107371][#107371]
- Under rare circumstances, a replication change could get stuck when proposed near lease or leadership changes (and likely under overload), and the replica circuit breakers could trip. This problem has been addressed. [#107063][#107063]
- Fixed a bug where, in rare circumstances, a [replication](https://cockroachlabs.com/docs/v22.2/architecture/replication-layer) could get stuck when proposed near lease or leadership changes, especially under overload, and the [replica circuit breakers]([../v22.2](https://cockroachlabs.com/docs/)/architecture/replication-layer.html#per-replica-circuit-breakers) could trip. A previous attempt to fix this issue has been reverted in favor of this fix. [#106515][#106515]
- Fixed the SQL syntax for the [`CREATE TABLE AS`](https://www.cockroachlabs.com/docs/v22.2/create-table-as) schema change job description. [#107402][#107402]
- Fixed a bug that caused internal errors when using [user-defined types](https://www.cockroachlabs.com/docs/v22.2/create-type) in views that have subqueries. This bug was present when using views since v21.2. [#106956][#106956]
- Fixed an internal error that would occur in `UPDATE`, `UPSERT`, `INSERT`, or `DELETE` statements run concurrently with [`ALTER TABLE..ADD COLUMN`](https://www.cockroachlabs.com/docs/v22.2/alter-table#add-column) of a [virtual computed column](https://www.cockroachlabs.com/docs/v22.2/computed-columns) on the same table. [#107408][#107408]
Expand Down
1 change: 1 addition & 0 deletions src/current/_includes/releases/v23.1/v23.1.9.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Release Date: September 7, 2023
- The `pg_get_serial_sequence` [builtin function](../v23.1/functions-and-operators.html) can now handle mixed-case names correctly. [#107372][#107372]
- Fixed a bug with the "SQL statement diagnostic request" [HTTP API](../v23.1/cluster-api.html) that would affect CockroachDB {{ site.data.products.serverless }} clusters was fixed. This bug had existed since CockroachDB [v22.1](../releases/v22.1.html). [#107385][#107385]
- Fixed a bug where under rare circumstances, a [replication](../v23.1/architecture/replication-layer.html) change could get stuck when proposed near lease/leadership changes (and likely under overload), and the [replica circuit breakers](../v23.1/architecture/replication-layer.html#per-replica-circuit-breakers) could trip. [#107059][#107059]
- Fixed a bug where, in rare circumstances, a [replication](https://cockroachlabs.com/docs/v23.1/architecture/replication-layer) could get stuck when proposed near lease or leadership changes, especially under overload, and the [replica circuit breakers]([../v23.1](https://cockroachlabs.com/docs/)/architecture/replication-layer.html#per-replica-circuit-breakers) could trip. A previous attempt to fix this issue has been reverted in favor of this fix. [#106515][#106515]
- Fixed a bug in the SQL syntax for [`CREATE TABLE AS`](../v23.1/create-table-as.html) [schema change](../v23.1/online-schema-changes.html) [job](../v23.1/show-jobs.html) description. [#107404][#107404]
- Fixed an internal error in [`UPDATE`](../v23.1/update.html), [`UPSERT`](../v23.1/upsert.html), [`INSERT`](../v23.1/insert.html), or [`DELETE`](../v23.1/delete.html) statements run concurrently with [`ALTER TABLE ... ADD COLUMN`](../v23.1/alter-table.html#add-column) of a [virtual computed column](../v23.1/computed-columns.html#virtual-computed-columns) on the same table. [#107403][#107403]
- Fixed a bug that caused internal errors when using [user-defined types](../v23.1/create-type.html) in [views](../v23.1/views.html) and [user-defined functions](../v23.1/user-defined-functions.html) that have [subqueries](../v23.1/subqueries.html). This bug was present when using views since version [v21.2](../releases/v21.2.html). It was present when using user-defined functions since [v23.1](../releases/v23.1.html). [#106955][#106955]
Expand Down
2 changes: 1 addition & 1 deletion src/current/_includes/releases/v23.2/v23.2.0-alpha.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ When cluster virtualization is enabled:
- Fixed a bug that could cause a [UDF]({% link v23.2/user-defined-functions.md %}) to return a value that does not conform to the return type of the UDF. This bug was only present for UDFs that return user-defined types. The bug was present since v23.1. [#104151][#104151]
- Fixed a bug where if a user was logged in while a different session dropped that user, the dropped user would still inherit privileges from the `public` role. Now, CockroachDB checks that the user exists before allowing it to inherit privileges from the `public` role. In addition, any active web sessions are now revoked when a user is dropped. [#104215][#104215]
- Fixed a bug in upstream `etcd-io/raft` which could result in pulling unlimited amount of logs into memory, and lead to out-of-memory errors. Now the log scan has a limited memory footprint. [#104483][#104483]
- Fixed a bug where, in rare circumstances, a replication change could get stuck when proposed near lease or leadership changes, especially under overload, and the replica circuit breaker could trip. A previous attempt to fix this issue has been reverted in favor of this fix. [#106515][#106515]
- Fixed a bug where, in rare circumstances, a [replication](https://cockroachlabs.com/docs/v23.1/architecture/replication-layer) could get stuck when proposed near lease or leadership changes, especially under overload, and the [replica circuit breakers]([../v23.1](https://cockroachlabs.com/docs/)/architecture/replication-layer.html#per-replica-circuit-breakers) could trip. A previous attempt to fix this issue has been reverted in favor of this fix. [#106515][#106515]
- CockroachDB now automatically deletes statistics for dropped tables from the `system.table_statistics` table. [#105364][#105364]
- Fixed a rare internal error which occurs when a query uses a "project set" operation involving simple column expressions. [#104756][#104756]
- The [Raft]({% link v23.2/architecture/replication-layer.md %}#raft) `PreVote` and `CheckQuorum` mechanisms are now fully enabled. These prevent spurious elections when followers already have an active leader, and cause leaders to step down if they don't hear back from a quorum of followers. This improves reliability under partial and asymmetric network partitions, by avoiding spurious elections and preventing unavailability where a partially partitioned node could steal leadership away from an established leaseholder who would then no longer be able to reach the leader and submit writes. [#104042][#104042]
Expand Down

0 comments on commit ad49531

Please sign in to comment.