Skip to content

Commit

Permalink
[doc] Release Notes 2024.2.2.0-b70 (#26238)
Browse files Browse the repository at this point in the history
* Release Notes 2024.2.2.0-b70

* fix

* fix links

* move RNs from other category

* update date

---------

Co-authored-by: Sudhanshu Prajapati <spsupraj2d@gmail.com>
  • Loading branch information
ddhodge and sudhanshu456 authored Feb 28, 2025
1 parent be96c0e commit 4a03035
Show file tree
Hide file tree
Showing 3 changed files with 206 additions and 7 deletions.
71 changes: 70 additions & 1 deletion docs/content/preview/releases/yba-releases/v2024.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,75 @@ What follows are the release notes for all releases in the **YugabyteDB Anywhere

For an RSS feed of all release series, point your feed reader to the [RSS feed for releases](../index.xml).

## v2024.2.2.0 - February 28, 2025 {#v2024.2.2.0}

**Build:** `2024.2.2.0-b70`

**Third-party licenses:** [YugabyteDB](https://downloads.yugabyte.com/releases/2024.2.2.0/yugabytedb-2024.2.2.0-b70-third-party-licenses.html), [YugabyteDB Anywhere](https://downloads.yugabyte.com/releases/2024.2.2.0/yugabytedb-anywhere-2024.2.2.0-b70-third-party-licenses.html)

### Download

<ul class="nav yb-pills">
<li>
<a href="https://downloads.yugabyte.com/releases/2024.2.2.0/yba_installer_full-2024.2.2.0-b70-linux-x86_64.tar.gz">
<i class="fa-brands fa-linux"></i>
<span>Linux x86</span>
</a>
</li>
</ul>

### New features

* *More convenience when changing time zones* - when viewing metrics or charts, switching time zones is now more conveniently located on the same web page, rather than several clicks away. <!-- IDEA-517 -->
* *Linux updates on YBA via boot-disk-replacement* - As an alternative to in-place patching, Linux updates (for security, or for upgrades) to YBA can now be performed by replacing the YBA VM boot disk, reinstalling YBA, and re-attaching the data disk. <!-- IDEA-1829 -->
* *YBA CLI* - a new YBA command-line which enables script-based automation. Now available in Early Access. <!-- IDEA-1879 --> {{<tags/feature/ea idea="IDEA-1879">}}
* *Connection Pooling (for Kubernetes)* - K8s support for optional server-side Connection Pooling enables more connections per cluster, more efficient memory usage, and faster first connection (and therefore first query) latencies. <!-- IDEA-1860 --> {{<tags/feature/ea idea="IDEA-1860">}}

### Change log

<details>
<summary>View the detailed changelog</summary>

### Improvements

* Enhances node agent logging and supports easier debugging in YBA. PLAT-16550
* Adds support for updating TLS settings of Universe via YBA CLI. PLAT-15532
* Ensures HA failover works across different timezones by using epoch millisecond time. PLAT-15970
* Include YBC ports in on-prem preflight checks for better setup validation. PLAT-16465
* Allows enabling the preview feature flag to mask unqualified commands. PLAT-16647

### Bug fixes

* Handles Azure images without plan information to avoid errors. PLAT-16404
* Fixes LDAP authentication to return correct search results for mismatching email and DN entries. PLAT-16543
* Ensures K8s always displays TServer and Master configurations, irrespective of `use_k8s_custom_resources` flag. PLAT-16577
* Ensures `yba-ctl preflight` command runs smoothly without `as_root` setting errors. PLAT-16668
* Upgrades libcurl in YBC and YBDB binaries to version 7.86.0 or higher, ensuring CIDR notation in `NO_PROXY` is respected. PLAT-16504
* Allows restoring a universe on the same universe without renaming keyspaces. PLAT-16553
* Destroys manual-onprem universes stuck in DECOMMISSIONED state correctly. PLAT-16631
* Fixes incorrect flag in CLI for on-prem provider creation to prevent failures. PLAT-16672
* Fixes the premature "cluster not found" error for read replicas in YBA CLI. PLAT-16689
* Fixes output error for incremental backups in YBA CLI, ensuring accurate status messages. PLAT-16703
* Ensure instance types exist before node addition in on-premises providers. PLAT-16810
* Restores using KMS now function correctly due to improved field annotations in YBA CLI. PLAT-16811,PLAT-16783
* Ensures server certs do not rotate unexpectedly during upgrades with cert-manager. PLAT-16812
* Fixes the issue where changing timezone doesn't update on zoomed metrics graphs. PLAT-16833
* Adds an async task Java client for node agent, mirroring existing Python client. PLAT-15661
* Prevents both instances from entering standby after a peer promotion. PLAT-16468
* Enables RBAC commands in CLI to run without requiring `runtime_config` key permissions. PLAT-16520
* Corrects label errors in `rpc_latency_sum` and `rpc_latency_count` metrics. PLAT-16544
* Ensures collect_metrics_wrapper.sh aligns with node_exporter's metrics path. PLAT-16581
* Enables passing correlation ID from YBA to node agent for RPCs via Python processes. PLAT-16646
* Upgrades spring-security-core to 5.8.16 to address {{<cve "CVE-2024-38821">}}. PLAT-16648
* Fixes timezone-related metrics display to prevent data disappearance. PLAT-16704
* Allows empty fields in Cert Manager Issuer during K8s setup. PLAT-16758,PLAT-16759
* Enhances error handling in `yba-ctl` to prevent infinite loops and crashes from unhandled directory creation errors. PLAT-16467
* Standardizes on-prem instance labels for consistency across UI components. PLAT-16633
* Enhances `yba-ctl` efficiency by skipping needless state file updates when no changes occur. PLAT-16641
* Fixes YCQL restores to correctly check for empty table names. PLAT-16754
* Adds `useTablespaces` to the YBA CLI restore workflow. PLAT-16755

</details>

## v2024.2.1.0 - January 30, 2025 {#v2024.2.1.0}

Expand Down Expand Up @@ -107,7 +176,7 @@ We're excited to announce the [Early Access](/preview/releases/versioning/#early

**Batching of rolling operations** {{<tags/feature/ea>}}

YugabyteDB Anywhere now supports applying changes to multiple nodes simultaneously (and in parallel) within each availability zone during rolling operations, such as software upgrades and flag changes. This can reduce the time required to perform rolling operations on large clusters by 2x, 3x, or more depending on the (configurable) batch size. For more information, refer to [Batched rolling restart](/stable/yugabyte-platform/manage-deployments/edit-config-flags/#batched-rolling-restart) documentation.
YugabyteDB Anywhere now supports applying changes to multiple nodes simultaneously (and in parallel) in each availability zone during rolling operations, such as software upgrades and flag changes. This can reduce the time required to perform rolling operations on large clusters by 2x, 3x, or more depending on the (configurable) batch size. For more information, refer to [Batched rolling restart](/stable/yugabyte-platform/manage-deployments/edit-config-flags/#batched-rolling-restart) documentation.

**Automated YB-Master failover** {{<tags/feature/ea>}}

Expand Down
136 changes: 133 additions & 3 deletions docs/content/preview/releases/ybdb-releases/v2024.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,136 @@ What follows are the release notes for the YugabyteDB 2024.2 release series. Con

For an RSS feed of all release series, point your feed reader to the [RSS feed for releases](../index.xml).

## v2024.2.2.0 - February 28, 2025 {#v2024.2.2.0}

**Build:** `2024.2.2.0-b70`

**Third-party licenses:** [YugabyteDB](https://downloads.yugabyte.com/releases/2024.2.2.0/yugabytedb-2024.2.2.0-b70-third-party-licenses.html), [YugabyteDB Anywhere](https://downloads.yugabyte.com/releases/2024.2.2.0/yugabytedb-anywhere-2024.2.2.0-b70-third-party-licenses.html)

### Downloads

<ul class="nav yb-pills">
<li>
<a href="https://software.yugabyte.com/releases/2024.2.2.0/yugabyte-2024.2.2.0-b70-darwin-x86_64.tar.gz">
<i class="fa-brands fa-apple"></i>
<span>macOS</span>
</a>
</li>
<li>
<a href="https://software.yugabyte.com/releases/2024.2.2.0/yugabyte-2024.2.2.0-b70-linux-x86_64.tar.gz">
<i class="fa-brands fa-linux"></i>
<span>Linux x86</span>
</a>
</li>
<li>
<a href="https://software.yugabyte.com/releases/2024.2.2.0/yugabyte-2024.2.2.0-b70-el8-aarch64.tar.gz">
<i class="fa-brands fa-linux"></i>
<span>Linux ARM</span>
</a>
</li>
</ul>

**Docker:**

```sh
docker pull yugabytedb/yugabyte:2024.2.2.0-b70
```

### Known issue

yugabyted does not work under Docker in v2024.2.2.0.

### New features

#### Core Database

* *Non-disruptive adding of indexes for xCluster* - Adding an index to a database configured with bi-directional xCluster Replication (or other non-transactional xCluster Replication) is now a non-disruptive, no-downtime operation. <!-- IDEA-1536 -->
* Read committed isolation now {{<tags/feature/ga idea="IDEA-1099">}}. When a transaction runs on this isolation level, a query sees only data committed before the query began and never sees either dirty data or concurrent transaction changes committed during query execution. <!-- IDEA-1099 -->
* Execution for Queries using InsertOnConflict clause are optimized for efficient execution for YugabyteDB distributed architecture. <!-- IDEA-1455 --> {{<tags/feature/ea idea="IDEA-1455">}}
* Support for synchronized sessions with export snapshot - Now supports pg_export_snapshot to offer consistent visibility of existing data across concurrent transactions & import using SET TRANSACTION by the current transaction. <!-- IDEA-1161 -->

#### CDC

* Support for LSN comparison across replication slots - Users are now will be able to add LSN type at the time of replication slot creation. This will enable users to compare two LSNs irrespective of the slots. <!-- IDEA-1830 -->
* Support for ALTER TABLE operations on CDC-enabled tables, addressing a key limitation. Users can now modify the table schema even when the table is configured for Change Data Capture (CDC). <!-- IDEA-1642 -->

#### yugabyted

* yugabyted enables native support for enhanced time sync using clockbound service. <!-- IDEA-1987 -->
* yugabyted enables support for IPV6. <!-- IDEA-1854 --> {{<tags/feature/ea idea="IDEA-1854">}}

#### YSQL

* Ensures cached plans correctly depend on user roles, addressing {{<cve "CVE-2024-10976">}}. {{<issue 25330>}}

### Change log

<details>
<summary>View the detailed changelog</summary>

### Improvements

#### YSQL

* Enables batching for INSERT ON CONFLICT with foreign key triggers. {{<issue 24649>}}

#### DocDB

* Enables safe index creation on bidirectional xCluster tables without halting operations. {{<issue 24884>}}

#### CDC

* Reduces unnecessary cleanup requests for logically replicated tables. {{<issue 25752>}}
* Reduces `cdcsdk_publication_list_refresh_interval_secs` to 15 minutes by default. {{<issue 25793>}}
* Enables automatic tablet splitting with logical replication by fixing hidden tablet deletion bugs. {{<issue 24918>}}
* Adds `cdcsdk_flush_lag` metric and fixes bugs in other CDC metrics. {{<issue 19445>}},{{<issue 25819>}}
* Limits the number of VirtualWAL instances per TServer with `cdc_max_virtual_wal_per_tserver` flag. {{<issue 25896>}}
* Adds parallel logical replication with consistent tablet subsetting under the `ysql_yb_enable_consistent_replication_from_hash_range` flag. {{<issue 25897>}}
* Reduces log verbosity in virtual WAL to prevent large log files. {{<issue 25739>}}
* Enables tests for optimized WAL reads in CDC for TSAN builds. {{<issue 24374>}}

#### yugabyted

* Displays universe UUID instead of a blank in the "Cluster Name" field on the yugabyted-ui settings page. {{<issue 25831>}}

### Bug fixes

#### YSQL

* Ensures DDL operations continue smoothly by retrying background tasks on polling errors. {{<issue 25708>}}
* Enables `pg_authid` table prefetching during login to reduce RPCs and prevent errors. {{<issue 25776>}}
* Ensures Batched Nested Loop joins correctly check for hashable join clauses. {{<issue 25917>}}
* Clears session state on retrying a query to avoid errors and conflicts. {{<issue 25105>}}
* Reverts `ALTER DATABASE RENAME` and `ALTER DATABASE OWNER` to global impact. {{<issue 25742>}}
* Fixes issues with `INSERT ON CONFLICT` queries using `SPI_execute_with_args`. {{<issue 25773>}}
* Fixes memory leaks and segmentation faults in YSQL Connection Manager. {{<issue 25718>}}
* Corrects a bug in YugabyteDB where using `yb_enable_expression_pushdown` on aggregates in trivial subqueries with `OFFSET 0` returned values from incorrect columns. {{<issue 24512>}}
* Fixes potential negative cost calculations for large table scans by using `double` for estimates. {{<issue 25862>}}
* Prevents returning corrupt data for `INSERT ON CONFLICT` with `RETURNING` when read batching is enabled. {{<issue 25836>}}
* Enhances error transparency when dropping databases or users. {{<issue 21438>}}
* Enhances protocol flow for consistency in batched query executions using a new flag `ysql_conn_mgr_optimized_extended_query_protocol`. {{<issue 24898>}}
* Enables seamless execution of unnamed prepared statements across different backends. {{<issue 25577>}}
* Tracks sticky connection metrics on the Prometheus endpoint. {{<issue 25775>}}
* Eliminates segmentation faults caused by a bug in Odyssey's list iteration macro, which incorrectly handled NULL pointers and led to core dumps. {{<issue 25846>}}

#### DocDB

* Enhances transactional xCluster accuracy by using majority replicated OpId for ApplySafeTime calculations. {{<issue 26043>}}
* Prevents crash during transaction abort by adjusting lock handling. {{<issue 25689>}}
* Prevents xCluster failures caused by same-name table re-creation during non-DBScoped DR. {{<issue 25709>}}
* Upgrades tcmalloc and abseil to prevent crashes from `malloc_usable_size(nullptr)`. {{<issue 25948>}}

#### CDC

* Fixes metric lag by adding dummy entries for expired tablets. {{<issue 25550>}}
* Reduces log verbosity by changing the log level for virtual WAL destroy statements. {{<issue 25547>}}

#### yugabyted

* Adds `use_client_to_server_encryption` flag to secure login data. {{<issue 25332>}}

</details>

## v2024.2.1.0 - January 30, 2025 {#v2024.2.1.0}

**Build:** `2024.2.1.0-b185`
Expand Down Expand Up @@ -212,8 +342,8 @@ The performance of YSQL backward table scans (for example, a descending-sorted q

This enhancement significantly reduces communication overhead between the PostgreSQL backend and TServer, which plays a critical role in both read and write flows. We observed a 10+% increase in throughput and a 10+% decrease in latency in workloads like TPCC and YCSB. This improvement is particularly impactful in the following scenarios:

- Colocation. When queries are guaranteed to route to the tablet leader, communication overhead is minimized.
- Queries involving multiple round trips, such as paginated reads or unbatched requests, benefit from reduced latency.
* Colocation. When queries are guaranteed to route to the tablet leader, communication overhead is minimized.
* Queries involving multiple round trips, such as paginated reads or unbatched requests, benefit from reduced latency.

This feature is controlled by the `pg_client_use_shared_memory` flag, which is enabled by default starting in v2024.2.0.

Expand All @@ -223,7 +353,7 @@ YugabyteDB uses [memory division flags](/stable/reference/configuration/yb-maste

Also turned on by default is `--enforce_tablet_replica_limits`, which enforces tablet replica limits based on the memory allocated to per-tablet overhead across the universe. When turned on, any CREATE TABLE request that would create too many tablets returns an error, and tablet splitting is also blocked if the result would be too many tablets.

In addition, YugabyteDB will alert you if your system currently has too many tablets. If you are _upgrading_ a universe, you may want to review your memory division settings and adjust them if desired; see [Best practices](/stable/develop/best-practices-ysql/).
In addition, YugabyteDB will alert you if your system currently has too many tablets. If you are *upgrading* a universe, you may want to review your memory division settings and adjust them if desired; see [Best practices](/stable/develop/best-practices-ysql/).

### New features

Expand Down
6 changes: 3 additions & 3 deletions docs/data/currentVersions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"series": "v2024.2",
"alias": "stable",
"display": "v2024.2 (LTS)",
"version": "2024.2.1.0",
"versionShort": "2024.2.1",
"appVersion": "2024.2.1.0-b185",
"version": "2024.2.2.0",
"versionShort": "2024.2.2",
"appVersion": "2024.2.2.0-b70",
"isStable": true,
"isLTS": true,
"initialRelease": "2024-12-09",
Expand Down

0 comments on commit 4a03035

Please sign in to comment.