v2025.2.8.0
v2025.2.8.0 (Released October 23, 2026)
Added 6
- Support FIPS SSL encrypted logical connection in a FIPS-enabled universe with connection manager using the OpenSSL FIPS provider when openssl_require_fips is set
- Limit concurrent YSQL catalog prefetches on the master leader using admission control, rejecting prefetches beyond master_max_concurrent_ysql_catalog_prefetches so the client retries them, controlled by enable_ysql_catalog_prefetch_admission which takes effect only after the upgrade is finalized
- Introduce support for distributed tracing to help track and analyze requests across services
- Add yb-collect-schema-dump to pg_upgrade for one-step schema dump collection, avoiding manual steps during major upgrades and ensuring compatibility with PostgreSQL 15
- Add the thread_pool_worker_wake_order flag (lifo, fifo, or mixed) to control the order in which parked thread-pool workers wake, reducing latency spikes during lock contention
- Add yb-ts-cli verify_vector_indexes to check that a vector index matches its table after operations such as a tablet split or xCluster replication
Changed 15
- Make Close and DEALLOCATE of protocol-level prepared statements no-ops under Connection Manager, so these statements are reclaimed only by LRU eviction controlled by ysql_conn_mgr_max_prepared_statements, while DEALLOCATE still drops SQL-level statements created with PREPARE behavior changed · inferred, marked in the notes below
- Preload large catalog tables using a byte limit instead of a row count, reducing the number of RPCs needed
- Eliminate redundant alignment padding in catalog-cache entries, reducing memory usage by nearly half for pg_attribute rows, particularly in schemas with many columns
- Reduce memory usage during full catalog preload by decoding each row in a temporary context, minimizing memory growth and backend memory peaks, especially in large schemas
- Release TCMalloc's free page heap memory to the OS after connection startup if it exceeds a threshold, reducing idle memory usage for connections
- Skip the per-index-column pg_attribute lookup for index options when rebuilding index entries, reducing catalog reads during a full catalog cache refresh
- Treat relied-on merge equalities as stream keys, so EXPLAIN lists those equality columns under Merge Stream Key and Merge Cond, and a merge scan raises a validation error when an equality fails to bind
- Reduce lock contention when allocating retryable request IDs so writes scale better on nodes with high core counts
- Route a vector index search that filters on primary key columns only to the tablets that match those equalities
- Reduce critical section size by moving RocksDB cache statistics and metrics updates outside the mutex lock, minimizing contention
- Remove redundant and unused server-wide cache metrics, simplifying RocksDB cache metric updates
- Set ThreadPoolBuilder to default to a 15s idle timeout for all thread pools, allowing unified tuning and reducing thread recreation on bursty loads
- Use absl::Mutex for RocksDB cache to reduce CPU overhead and contention on nodes with high core counts
- Use absl::Mutex for TabletRetentionPolicy to reduce CPU overhead and contention on nodes with high core counts by designating a waker
- Eliminate the filesystem mutex for catalog RPCs by using the server instance UUID, so those RPCs are not blocked on filesystem metadata
Fixed 4
- Under Connection Manager, a named Parse that reuses an existing statement name replaces that statement instead of failing with 'prepared statement already exists', so DEALLOCATE followed by a re-Parse of the same name succeeds
- Bind or Describe of a statement that was never prepared under Connection Manager now returns an error instead of closing the connection
- Detect client disconnects during stuck RPCs to prevent resource consumption until the RPC times out
- Bypass Row-Level Security in yb_index_check during row-count queries by running as the table owner, ensuring consistent results in single-snapshot mode and preventing errors due to RLS policy application
Removed 1
- Remove the deprecated non-block-based vector index backends USEARCH and HNSWLIB inferred, marked in the notes below
Deprecated 1
- The ysql_conn_mgr_enable_prep_stmt_close, ysql_conn_mgr_enable_dealloc_reconciliation, and ysql_yb_conn_mgr_selective_deallocate flags are deprecated and have no effect inferred, marked in the notes below
2 changes to check, marked in the notes below
From YugabyteDB
Build: 2025.2.8.0-b60 Third-party licenses: YugabyteDB, YugabyteDB Anywhere Downloads
- wget https://software.yugabyte.com/releases/2025.2.8.0/yugabyte-2025.2.8.0-b60-darwin-x86_64.tar.gz echo "$(curl -L https://software.yugabyte.com/releases/2025.2.8.0/yugabyte-2025.2.8.0-b60-darwin-x86_64-tar.gz.sha) *yugabyte-2025.2.8.0-b60-darwin-x86_64.tar.gz" | shasum --check wget https://software.yugabyte.com/releases/2025.2.8.0/yugabyte-2025.2.8.0-b60-darwin-arm64.tar.gz echo "$(curl -L https://software.yugabyte.com/releases/2025.2.8.0/yugabyte-2025.2.8.0-b60-darwin-arm64-tar.gz.sha) *yugabyte-2025.2.8.0-b60-darwin-arm64.tar.gz" | shasum --check wget https://software.yugabyte.com/releases/2025.2.8.0/yugabyte-2025.2.8.0-b60-linux-x86_64.tar.gz echo "$(curl -L https://software.yugabyte.com/releases/2025.2.8.0/yugabyte-2025.2.8.0-b60-linux-x86_64-tar.gz.sha) *yugabyte-2025.2.8.0-b60-linux-x86_64.tar.gz" | shasum --check wget https://software.yugabyte.com/releases/2025.2.8.0/yugabyte-2025.2.8.0-b60-el8-aarch64.tar.gz echo "$(curl -L https://software.yugabyte.com/releases/2025.2.8.0/yugabyte-2025.2.8.0-b60-el8-aarch64-tar.gz.sha) *yugabyte-2025.2.8.0-b60-el8-aarch64.tar.gz" | shasum --check docker pull yugabytedb/yugabyte:2025.2.8.0-b60
Improvements
YSQL
- Support FIPS SSL encrypted logical connection in a FIPS-enabled universe with connection manager using the OpenSSL FIPS provider when openssl_require_fips is set. #33999
- Make Close and DEALLOCATE of protocol-level prepared statements no-ops under Connection Manager; these statements are now reclaimed only by LRU eviction (ysql_conn_mgr_max_prepared_statements). DEALLOCATE still drops SQL-level statements created with PREPARE. The ysql_conn_mgr_enable_prep_stmt_close, ysql_conn_mgr_enable_dealloc_reconciliation, and ysql_yb_conn_mgr_selective_deallocate flags are deprecated and have no effect. #33566 deprecated · inferred behavior changed · inferred
- Preload large catalog tables more efficiently using a byte limit instead of a row count, reducing the number of RPCs needed. #34114
- Eliminate redundant alignment padding in catalog-cache entries, reducing memory usage by nearly half for pg_attribute rows, particularly in schemas with many columns. #34258
- Reduce memory usage during full catalog preload by decoding each row in a temporary context, minimizing memory growth and backend memory peaks, especially in large schemas. #34259
- Release TCMalloc's free page heap memory to the OS after connection startup if it exceeds a threshold, reducing idle memory usage for connections. #34409
- Skip the per-index-column pg_attribute lookup for index options when rebuilding index entries, reducing catalog reads during a full catalog cache refresh. #34422
- Limit concurrent YSQL catalog prefetches on the master leader using admission control. Beyond master_max_concurrent_ysql_catalog_prefetches prefetches are rejected and retried by the client, so a fleet-wide event such as a DDL no longer queues every YB-TServer on the leader at once. The limit is controlled by enable_ysql_catalog_prefetch_admission, which does not take effect until the upgrade is finalized. #34309
- Introduce support for distributed tracing to help track and analyze requests across services. #16670
- Treat relied-on merge equalities as stream keys. EXPLAIN lists those equality columns under Merge Stream Key and Merge Cond, and a merge scan raises a validation error when an equality fails to bind, so rows are not silently lost or misordered. #32735
- Under Connection Manager, a named Parse that reuses an existing statement name replaces that statement instead of failing with "prepared statement already exists", so DEALLOCATE followed by a re-Parse of the same name succeeds. Bind or Describe of a statement that was never prepared now returns an error instead of closing the connection. #32642
- Reduce lock contention when allocating retryable request IDs so writes scale better on nodes with high core counts. #32600
- Route a vector index search that filters on primary key columns only to the tablets that match those equalities. #34735
- Add yb-collect-schema-dump to pg_upgrade for one-step schema dump collection, streamlining major upgrades by avoiding manual steps and ensuring compatibility with PostgreSQL 15. #33257
DocDB
- Reduce critical section size by moving RocksDB cache statistics and metrics updates outside the mutex lock, minimizing contention. #34361
- Streamline cache metrics by removing redundant and unused server-wide metrics, simplifying RocksDB cache metric updates for better performance. #34362
- Set ThreadPoolBuilder to default to a 15s idle timeout for all thread pools, allowing unified tuning and reducing thread recreation on bursty loads. #34364
- Use absl::Mutex for RocksDB cache to reduce CPU overhead and contention on nodes with high core counts, enhancing performance during mutex operations. #34359
- Use absl::Mutex for TabletRetentionPolicy to reduce CPU overhead and contention on nodes with high core counts by designating a waker. #34360
- Eliminate the filesystem mutex for catalog RPCs by using the server instance UUID, so those RPCs are not blocked on filesystem metadata. #34012
- Add the thread_pool_worker_wake_order flag (lifo, fifo, or mixed) to control the order in which parked thread-pool workers wake, reducing latency spikes during lock contention. #34838
- Remove the deprecated non-block-based vector index backends USEARCH and HNSWLIB. #34805 removed · inferred
- Add yb-ts-cli verify_vector_indexes to check that a vector index matches its table after operations such as a tablet split or xCluster replication. #34611, #35098
Bug fixes
YSQL
- Detect client disconnects during stuck RPCs to prevent resource consumption until the RPC times out. #31977
- Bypass Row-Level Security (RLS) in yb_index_check during row-count queries by running as the table owner, ensuring consistent results in single-snapshot mode and preventing errors due to RLS policy application. #30287
- Prevent backend crashes (SIGSEGV) caused by yb_hash_code on large arguments by switching from stack allocation (alloca) to heap allocation (palloc). #34210
- Prevent external clients from overriding connection manager's internal startup parameters by rejecting connections that attempt to set reserved fields. #32918
- Reduce memory usage during start-up by minimizing accumulated memory from preloading CatCache to prevent potential OOMs on small instances. #15505
- Avoid the 2-second sleep for non-global DDLs when using the connection manager by waiting for the new catalog version to be available locally, reducing latency in most cases. #29174
- Prevent unintended deletion of YSQL indexes by leaving stranded indexes at their current permission state. Log a warning instead of deletion for indexes at INDEX_UNUSED, ensuring indexes remain intact until explicitly dropped. #34162
- Allow ANALYZE in read-only transactions by adjusting catalog version increment behavior without changing isolation levels or transaction states. #34575
- Prevent pre-flight check failures by ensuring a starting yb-master deletes any stale pg_upgrade socket directories, avoiding manual intervention and enhancing upgrade reliability. #33895
- Assigns all uninitialized output parameters in gincostestimate to prevent garbage values affecting index path costs. #32859
- Resolve QPM issues by ensuring functionality after file truncation, even when the file is corrupted, enabling consistent query performance. #30939
- Skip reading for out-of-range integer equalities in index scans to avoid unnecessary row checks. #34277
- Fix a memory leak during foreign key checks against range-sharded keys with a non-C collation by using a temporary memory context, so large insert operations no longer grow backend memory without bound. #34725
- Stop matching yb_hash_code to every key column, so filters on yb_hash_code no longer crash, drop joins, or return wrong results. #34733
- Ignore oversized connection startup parameters in Connection Manager instead of letting them disrupt connection setup. #34756
- Increment the logical client version and notify Connection Manager only when the DDL transaction commits, so a failed DDL or a rolled-back transaction no longer causes a version change. #30426
- Stop sending ParameterStatus packets to clients when deploying a connection. Clients already have those values. #28850
- Stop invalidating the pg_statistic cache for every table when ANALYZE runs on one table, so other tables do not miss the cache on their next query. #34661
- Keep reltuples unchanged when creating a ybhnsw index with yb_enable_cbo enabled, so the planner does not treat an analyzed table as empty until the next ANALYZE. #34650
- Resend a table alter when the schema version is saved but the alter is not sent to the tablets, so the DDL retries instead of hanging. #34262
- Restore the catalog version bump during a YSQL major upgrade so a DDL does not crash while the upgrade is in progress. #34486
- Keep the per-database OID counter from moving backward during a PITR restore, so a concurrent DDL does not reuse an OID. #33372
- Refresh outdated tablet cache entries during CREATE INDEX on a ybhnsw index so the statement does not hang when the base table is splitting. #34286
- Fix ALTER TABLE ... DROP COLUMN failing with "pg_attribute catalog is missing" when another session runs GRANT, REVOKE, or CREATE INDEX at the same time. #31741
- Avoid a core dump when the connection manager shuts down by keeping its worker threads running until the process exits. #28574, #30130
YCQL
- Eliminate process-wide lock contention by caching audit filter flags in a snapshot, ensuring improved performance during YCQL operations without altering filtering semantics. #34564
- Compare UUIDs by the raw version nibble so in-memory and on-disk order match, including versions greater than 5. Lookups and filters then return consistent results. #28566
DocDB
- Skip colocated child tablets in GetUnderReplicatedTablets to prevent incorrect underreplication reports, ensuring accurate master leader UI data. #33317
- Reduce MetaCache lock contention by allowing common RPC responses to process in shared mode, minimizing client-wide dispatch stalls during leadership changes. #32261
- Fix cloned tablet index_map for vector indexes, ensuring the target table's indexes are correctly used, avoiding stale entries from the source. #31935
- Replay non-transactional writes into lagging vector indexes after ungraceful restarts to prevent data loss from ANN searches. Introduce a new runtime flag vector_index_num_raft_ops_to_force_flush to manage log retention and ensure vector index consistency. #32797
- Retry the vector index backfill process when storages are reopened, ensuring CREATE INDEX completes without manual tserver restarts. #34182
- Resolve issues with unreadable vector columns by maintaining the value type byte during compaction from V2 to V1 row formats. #34315
- Roll back VectorLSM chunk tasks when insert task allocation fails to prevent issues with saving chunks during registry shutdown. #34199
- Serve YSQL lease RPCs on a high-priority thread pool to prevent session disruptions during high master load, ensuring seamless lease management. #31589
- Fix a thread-pool crash that occurred after a worker had already exited. #28297
- Persist transaction status table scale-up on the master leader so a failover does not overlap transaction status data. #30652
- Wait for insert tasks already in flight when a vector index split flush starts, and run a second vector-only flush before creating a checkpoint, so tablet delete and restore no longer hang. #32400
- Restore vector index column IDs on snapshot import so the index is not skipped when imported column IDs differ from the local catalog. #34189
- Fix a tserver crash on tablets with 64 or more vector indexes. #33923 …