Included here are the release notes for all releases in the v2.12 release series. Content will be added as new notable features and changes are available in the patch releases of the v2.12 release series.

For an RSS feed of the release notes for all release series, point your feed reader to the RSS feed for releases.

v2.12.10.0 - September 12, 2022

Build: 2.12.10.0-b41

Third-party licenses: YugabyteDB, YugabyteDB Anywhere

Downloads

           

Docker

docker pull yugabytedb/yugabyte:2.12.10.0-b41

Improvements

Yugabyte Platform

  • [PLAT-511] Automating support package generation
  • [PLAT-3560] [PLAT-3950] Add ability to run platform as a non-root user
  • [PLAT-3668] Enable refresh button on live query tab
  • [PLAT-4801] [LDAP] Add search and bind functionality
  • [PLAT-4856] Add support for editing User Tags for GCP
  • [PLAT-4960] Initial metric collection profiles
  • [PLAT-5171] [LDAP] [UI] UI support for search and bind

Database

  • [9936] [DocDB] Increase PgClient queue length
  • [11979] [DocDB] Improve expired calls cleanup
  • [13265] [DocDB] Add option for server level aggregation
  • [13617] Import In extensions, don't replace objects not belonging to the extension
  • [13651] Fix LLVM package selection on CentOS 7

Bug fixes

Yugabyte Platform

  • [PLAT-2086] Allow retention of platform logs on Replicated after upgrades
  • [PLAT-2175] Change manual install script execution step for on-premise
  • [PLAT-2540] [PLAT-4819] [PLAT-4821] Fix for issue that HA certs are ignored after restart
  • [PLAT-2609] [Backups] Handle case when TS Web UI is not available
  • [PLAT-4187] Fix stdDevTime formula
  • [PLAT-4189] [xCluster] Get replication lag using table ID
  • [PLAT-4381] [PLAT-4790] Removing pricing requirement for GCP
  • [PLAT-4421] [PLAT-4453] Update logic for lag metrics display
  • [PLAT-4460] Edit universe tags is broken
  • [PLAT-4476] Fix Disk Usage mount point regex
  • [PLAT-4484] [PLAT-4485] Allow resuming paused universes with EAR enabled.
  • [PLAT-4559] [UI] Lag metrics is not same (not in sync) in 2 frames
  • [PLAT-4602] Add scrollbar in case health check output does not fit
  • [PLAT-4635] Increase FD_THRESHOLD_PCT limit to sync it with alerts
  • [PLAT-4650] [PLAT-4658] Rotating CA through UI results in loss of GFlags and sets unexpected flags
  • [PLAT-4657] Add missing metrics to priority regex
  • [PLAT-4694] Mask password field on Replicated settings UI
  • [PLAT-4815] Record old and new GFlag values in audit payload for GFlag Upgrade tasks
  • [PLAT-4823] Allow configuring Prometheus and PostgreSQL ports in Replicated configuration
  • [PLAT-4927] UI for enabling LDAP available to Admin user but doesn't work
  • [PLAT-4960] Remove priority_regex from Prometheus configuration
  • [PLAT-4979] Nodes unreachable after switching HA active/standby
  • [PLAT-5014] Adding pricingKnown to instance price API
  • [PLAT-5035] Fix missing scheduleUUID
  • [PLAT-5193] Master flag lists shows incorrect default value
  • [PLAT-5207] Fix connectivity issue between YBA and Master with latest JVM version
  • [PLAT-5235] SQL admin password validation exception due to missing database

Database

  • [10154] [DocDB] Fixed intensive intents cleanup rescheduling in case of concurrent compaction
  • [10900] [13247] [YBase] Allow the user to specify the UUID for master removal
  • [11343] [YSQL] Avoid wait for RPC response on process termination
  • [11769] [YCQL] Fixed TS crash due to NULL PTBindVar::hash_col_
  • [12003] [xCluster] Allow dropping of YSQL tables under replication
  • [12363] [DocDB] Updated Preparer to respect protobuf message size limit when batching Raft operations
  • [12539] [DocDB] prometheus-metrics consumes a lot of CPU on servers with a lot of tablets
  • [12587] [YSQL] Add yb_make_next_ddl_statement_nonbreaking
  • [12613] [CDCSDK] setCheckpoint fail when number of tservers are more than tablet split count
  • [12627] [DocDB] Fix collecting table metrics by metrics snapshotter
  • [12636] [DocDB] Reduce verbosity of GetNamespaceInfo log
  • [12648] [YSQL] Fix index scan in case of dynamic table splitting
  • [12782] [DST] [Backups] Bloated SnapshotInfoPB for backup with large number of colocated tables
  • [12784] [YSQL] Hard kill all hung PG processes during shutdown
  • [12909] [YCQL] [Backups] Supprt YCQL user defined types in backups
  • [13031] [DST] [Backups] Throttle create table requests during ImportSnapshotMeta of restore (YCQL)
  • [13060] [YCQL] Disallow IN clause combined with ORDER BY
  • [13180] [CDCSDK] Fix for EnumCache not getting updated if new enum types are added to the same namespace
  • [13250] [YSQL] ysql_dump should set up a sequence's current value
  • [13280] [DocDB] Fix behavior when outstanding_tablet_split_limit_per_tserver = 0.
  • [13342] [DocDB] Fix issue which fails to restart tserver if crash after tablet split applied
  • [13361] [Backups] Fix backups for YSQL tables only present in docdb
  • [13434] [xCluster] Dropping a YSQL table under replication should delete its CDC streams
  • [13452] [CDCSDK] CDCSDK Stream metadata are never cleaned in master as part of the drop table
  • [13504] [YSQL] Count OID query failing for pg_type table
  • [13525] [YSQL] Upgrade doesn't work if YSQL was initialized by a manual initdb run
  • [13610] [DocDB] Don't replicate write batch with size exceeds rpc message limit, fail the batch instead
  • [13441] [CDCSDK] Modifications to send namespace ID as a part of GetDBStreamInfoResponse in Java
  • [13653] [CDCSDK] Deleting stream IDs lead to stale entries in the cdc_state table causing tserver crash
  • [13659] [DocDB] Fix Prepare for the failed transaction
  • [13670] [DocDB] Ensure that we use tserver_tcmalloc_max_total_thread_cache_bytes if it is set
  • [13693] [CDCSDK] Add last_active_time to cdc_state table
  • [13770] [CDCSDK] Intents are getting GCed after Tablet LEADER changes

v2.12.9.2 - August 31, 2022

Build: 2.12.9.2-b4

Third-party licenses: YugabyteDB, YugabyteDB Anywhere

Downloads

           

Docker

docker pull yugabytedb/yugabyte:2.12.9.2-b4

Bug fixes

Database

  • [12613] [CDCSDK] setCheckpoint fails when the number of TServers is more than tablet split count
  • [13653] [CDCSDK] Deleting stream IDs leads to stale entries in the cdc_state table causing a TServer crash
  • [13659] [DocDB] Fix Prepare for the failed transaction
  • [13693] [CDCSDK] Add last_active_time to the cdc_state table to prevent stream expiration
  • [13770] [CDCSDK] Intents are getting GCed after tablet leader changes
  • [13789] [CDCSDK] Fix crash in DeleteCDCStateTableMetadata occurring when we delete a CDCSDK stream

v2.12.9.1 - July 20, 2022

Build: 2.12.9.1-b1

Third-party licenses: YugabyteDB, YugabyteDB Anywhere

Downloads

           

Docker

docker pull yugabytedb/yugabyte:2.12.9.1-b1

Bug fixes

Database

  • [12775] [YSQL] Revert "Show transaction priority of the active transaction in current session"

v2.12.9.0 - July 14, 2022

Build: 2.12.9.0-b3

Third-party licenses: YugabyteDB, YugabyteDB Anywhere

Downloads

           

Docker

docker pull yugabytedb/yugabyte:2.12.9.0-b3

Improvements

Yugabyte Platform

  • [PLAT-3725] Add k8s_parent.py entrypoint script, and use to start DB processes

Database

  • [13176] [DocDB] Generate gFlags metadata xml at build time

Bugs

Yugabyte Platform

  • [PLAT-4410] Fix software upgrade task progress
  • [PLAT-4495] Fix CQL Live query /rpcz response processing for missing connection_details + ipv6 hostname
  • [PLAT-4558] [xCluster] Lag value is overlapping on other text.

Database

  • [10301] [DocDB] Fixed bootstrap for split parent tablet
  • [11148] [DocDB] Fix split child tablets Raft config consistency
  • [11593] [YSQL] Allow YSQL follower reads to be rejected by a follower if it is lagging behind, and retried at the leader
  • [11680] [YSQL] Fix refreshes on colocated matviews
  • [11715] [YSQL] Fix bug in statement_timeout rollback
  • [11963] [DocDB] Fixed replaying SPLIT_OP during bootstrap and TabletSplitExternalMiniClusterITest.RemoteBootstrapsFromNodeWithUncommittedSplitOp
  • [12740] [YSQL] Don't store index using per-tuple memory context for temp table
  • [13146] [CDCSDK] Add CDCSDK checkpoint check before removing transactions from CleanupAbortsTask
  • [13153] [CDCSDK] wal_retention_secs Flag reset to 0 after Tablet Bootstrap, causing WAL GCed
  • [13195] [docdb] Increased retryable_request_timeout_secs to 660 seconds
  • [13215] [CDCSDK] Handling tserver crash for accessing uninitialised log object pointer for SetCDCCheckpoint API.
  • [CDCSDK] Add a retry in GetChangesForCDCSDK, where transaction's batch size is large

Known issues

Yugabyte Platform

N/A

Database

N/A

v2.12.8.0 - July 6, 2022

Build: 2.12.8.0-b5

Third-party licenses: YugabyteDB, YugabyteDB Anywhere

Downloads

           

Docker

docker pull yugabytedb/yugabyte:2.12.8.0-b5

New features

Yugabyte Platform

N/A

Database

N/A

Improvements

Yugabyte Platform

  • [PLAT-3932] Enable Request ID logging for platform

Database

N/A

Bugs

Yugabyte Platform

  • [PLAT-4154] Avoid multiple delete expired backup tasks
  • [PLAT-4450] Systemd restart issue regression fix

Database

  • [11349] [DocDB] Fixed RetryableRequests errors handling at follower and ConsensusRound callbacks invocation
  • [12537] [DocDB] Do not retry RPC on Incomplete error
  • [12822] Handle null pointer consensus round in transaction coordinator's replication handler
  • [13006] [xCluster] Fix removing table from alter_universe_replication blocking drop table
  • [13042] [DocDB] fixed clearing pending config for aborted CONFIG_CHANGE_OP
  • [13048] [DST] Flush all YSQL system tables metadata together during CREATE DATABASE

Known issues

Yugabyte Platform

N/A

Database

N/A

v2.12.7.0 - June 24, 2022

Build: 2.12.7.0-b27

Third-party licenses: YugabyteDB, YugabyteDB Anywhere

Downloads

           

Docker

docker pull yugabytedb/yugabyte:2.12.7.0-b27

New features

Yugabyte Platform

N/A

Database

N/A

Improvements

Yugabyte Platform

  • [PLAT-2934] Add user friendly formatting for lag metric
  • [PLAT-3625] Filter target universes dropdown to contain only ready/good universes
  • [PLAT-4151] Update universe status classification logic
  • [PLAT-4256] Add default bridge network gateway to trusted proxies in case of replicated

Database

  • [11800] [YSQL] Import Preserve firing-on state when cloning row triggers to partitions
  • [12482] [DocDB] Adding tserver-side tablet split metrics and logging
  • [12526] [CDCSDK] Delete cdc_state table metadata on dropping a table
  • [12611] [YSQL] Enable yb_db_admin to set session authorization
  • [12710] [CDCSDK] CDC Upgrade Path
  • [12716] [CDCSDK] Reset cdc_sdk_min_checkpoint_op_id of transaction participant on deletion of the last stream
  • [12744] [CDCSDK] Enum support

Bugs

Yugabyte Platform

  • [PLAT-3791] Ensure errors in ansible/python and background Java threads are propagated to the task and API error message correctly
  • [PLAT-4115] Install s3cmd correctly on CIS hardened image
  • [PLAT-4148] [xCluster] Current Lag is 0 even if there is replication is in progress
  • [PLAT-4221] Set highest possible value to max_tables_metrics_breakdowns to make sure all per-table metric values are returned if metric name matches regex
  • [xCluster] Fix Replication for For Transactions Spanning Multiple Write Batches

Database

  • [9588] [10039] [DST] Ignore intents from aborted subtransactions of other transactions during conflict resolution
  • [11461] [docdb] Allow splitting for SST files that have only 1 block
  • [12211] [docdb] Temporary disable tablet splitting for index tables with range partitioning
  • [12497] [CDCSDK] After Table drop if we delete the CDC stream we get error.
  • [12498] [CDCSDK] Add option to bootstrap the CDC console client
  • [12509] [YSQL] Enable yb_fdw to use orafce extension
  • [12612] [12614] Intent are not cleaned up even after cdc retention time expired
  • [12646] [12702] [CDCSDK] Intents are Garbage collected even client keep calling GetChange
  • [12730] [CDCSDK] Set OpId of APPLY Record in the RunningTransaction during tablet bootstrap
  • [12741] [YSQL] Reset pg_hint_plan state after ExecutorEnd
  • [12762] [YCQL] tserver FATAL when running cassandra stress test
  • [12775] [YSQL] Show transaction priority of the active transaction in current session
  • [12790] [CDCSDK] Handles errors in enum UDT columns
  • [12801] [DocDB] Change default value of automatic_compaction_extra_priority to 0.
  • [12810] [DocDB] Disable automatic_compaction_extra_priority when auto splits are disabled.
  • [12814] [CDCSDK] Backfill primitive type in tablet metadata for UDTs on upgrade

Known issues

Yugabyte Platform

N/A

Database

N/A

v2.12.6.1 - July 11, 2022

Build: 2.12.6.1-b4

Third-party licenses: YugabyteDB, YugabyteDB Anywhere

Downloads

           

Docker

docker pull yugabytedb/yugabyte:2.12.6.1-b4

Bug fixes

Yugabyte Platform

  • [PLAT-4450] Fixing systemd restart issue
  • [PLAT-4450] Systemd restart issue regression fix

Database

  • [11349] [DocDB] Fixed RetryableRequests errors handling at follower and ConsensusRound callbacks invocation
  • [13042] [DocDB] Fixed clearing pending config for aborted CONFIG_CHANGE_OP
  • [13048] [DST] Flush all YSQL system tables metadata together during CREATE DATABASE

v2.12.6.0 - June 9, 2022

Build: 2.12.6.0-b26

Third-party licenses: YugabyteDB, YugabyteDB Anywhere

Downloads

           

Docker

docker pull yugabytedb/yugabyte:2.12.6.0-b26

New features

Yugabyte Platform

N/A

Database

N/A

Improvements

Yugabyte Platform

  • [PLAT-1601] [PLAT-3007] [PLAT-3441] [OIDC] Use relative URLs instead of using yb.url
  • [PLAT-2856] Remove PostgreSQL metrics storage.
  • [PLAT-3709] Add under-replicated masters alert
  • [PLAT-3805] [PLAT-3959] RuntimeConfig setObject and resolution support
  • [PLAT-4124] [PLAT-2540] Allow for configuring WsClient used for HA using RuntimeConfiguration
  • [PLAT-4194] [HA] Disable version check by default

Database

  • [11064] [DocDB] Improve split performance by adding tserver flag to prioritize automatic compactions
  • [11248] [YCQL] Add RPC metadata to CQL protocol
  • [11460] [DocDB] Add per-tserver split limits
  • [11617] [YSQL] Prefer custom plans for prepared statements using partitioned tables if partition pruning is possible
  • [12207] [YSQL] Expand yb_db_admin function permissions
  • [12258] [YSQL] Keep ybctid consistent across all databases for shared insert
  • [12447] [YSQL] Import In REFRESH MATERIALIZED VIEW, set user ID before running user code
  • [12460] [YSQL] Populate idx_scan in pg_stat_user_indexes
  • [12483] [YSQL] Allow yb_extension to create pg_trgm and PGAudit extensions.
  • [12483] [YSQL] Allow yb_db_admin to run REASSIGN OWNED BY
  • [12548] [YSQL] Make permission error strings more informative

Bugs

Yugabyte Platform

  • [PLAT-3194] Redact the default alerts email to prevent phishing attacks
  • [PLAT-3492] Fix dependency order
  • [PLAT-3805] Fixes boot script path runtime config

Database

  • [8869] [12584] [YSQL] fix TRUNCATE involving indexes + tablegroups
  • [11127] [YSQL] Call ReleaseSysCache prior to returning
  • [11132] [DocDB] Add materialized view table type, store materialized view's PG table OID in memory, fix REFRESH failure handling.
  • [11274] [YSQL] Fix emitting duplicated metric entries not recognizable by Prometheus
  • [12004] [YSQL] Explicit locking statement doesn't create a transaction when using READ COMMITTED in YSQL that maps to REPEATABLE READ
  • [12113] [DocDB] LB should not appear if scheduled tasks complete before the LB run.
  • [12605] [YSQL] Prevent non-superusers from reassigning objects owned by superusers.
  • [CDCSDK] Data inconsistency in CDC after restart of tserver

Known issues

Yugabyte Platform

N/A

Database

N/A

v2.12.5.0 - May 18, 2022

Build: 2.12.5.0-b24

Third-party licenses: YugabyteDB, YugabyteDB Anywhere

Downloads

           

Docker

docker pull yugabytedb/yugabyte:2.12.5.0-b24

New features

Yugabyte Platform

Database

  • [1130] [YSQL] Add support for renaming indexes
  • [8259] [DST] Point-in-time restore now supports colocated tables
  • [11269] [YSQL] Add session variable to enable upsert mode for inserts
  • [11760] [YSQL] Support NOWAIT for READ COMMITTED isolation level

Improvements

Yugabyte Platform

  • [PLAT-3351] Upgrading dependencies for security concerns
  • [PLAT-3409] [k8s] Run yugabyte as non root user (#129) (#132)
  • [PLAT-3597] Added volume legacy annotations to support old universe upgrade (#130) (#131)
  • [PLAT-3644] Upgrade azcopy to the latest version with security patches
  • [PLAT-3648] [PLAT-3649] Automatic handling of platform/universe version mismatch
  • [PLAT-3680] [PLAT-3683] Provide Delete HA configuration button when something is wrong
  • [PLAT-3717] [PLAT-3728] Reducing sudo footprint of preflight checks
  • [PLAT-3914] Add retries in ChangeMasterConfig RPC to master

Database

  • The yb_db_admin role can now:
    • [11666] Create, assign, and drop tablespaces.
    • [11756] ALTER functions.
    • [11766] Alter tables.
    • [12120] Set session_replication_role.
    • [12152] CREATE/ALTER/DROP schemas.
  • The following collations have been removed:
    • nds-x-icu
    • nds-DE-x-icu
    • nds-NL-x-icu
  • [6428] [DST] Ensure uniform distribution of tablets right at create table time
  • [8100] [YSQL] Add Preferred zones to TableSpaces
  • [10172] [DST] Allow CreateTable even if only majority of replicas can be created
  • [11274] [ysql] Add connection metrics to SQL server Prometheus endpoint
  • [11275] [DocDB] Prevent tserver panic if earliest log index accessed pre-peer init
  • [11494] [DST] [PITR] Enable Snapshot throttling by default
  • [11868] Better defaults for RemoteBootstrap
  • [12169] [xCluster] Throttle the number of GetChanges Requests
  • [12234] [YSQL] Add per-tuple memory context usage to scan nodes

Bugs

Yugabyte Platform

  • [PLAT-3197] [PLAT-3305] [PLAT-3318] Fixes required for Terraform provider
  • [PLAT-3239] [Platform] Default nodes placement for Multi-region universes tries to minimise number of involved regions
  • [PLAT-3305] Fixed support bundle response type
  • [PLAT-3330] HA bundle bloated
  • [PLAT-3359] Increase table creation timeout and attempts count
  • [PLAT-3469] Expand Universe for on-prem failing
  • [PLAT-3533] Delete static IP used by a universe on universe destruction
  • [PLAT-3624] Fix client 2 node certificate health check
  • [PLAT-3646] Backup failure doesn't update task and backup state correctly
  • [PLAT-3652] Fix disk utilisation health check in case additional lines added to command output.
  • [PLAT-3653] Fix TimeoutExpired error handling
  • [PLAT-3653] Remove pipe from Redis health check
  • [PLAT-3700] AppInit fails when multiple builds of one architecture type in same directory
  • [PLAT-3726] [PLAT-3727] [UI] Password policy wording is incorrect/broken & Punctuation typo in Alerts acknowledgement modal
  • [PLAT-3752] Up-version H2 db to fix NPE
  • [PLAT-3761] Completely remove pipes from all health checks remote commands
  • [PLAT-3797] [Platform] Task Improvement - On-prem node reservation can leak nodes on platform restart or task failure in some tasks
  • [PLAT-3811] Fix client CA certificate expiration check name + ignore result completely in case certs were not uploaded
  • [PLAT-3864] GCP VM Image upgrade issue
  • [PLAT-3900] Remove synchronized logic from NodeUniverseManager + make sure we never timeout inside run_node_action.py method
  • [PLAT-3948] Fix regex for ansible log message in shell output to pick the actual error message
  • [PLAT-3967] Pause/Resume Universe operations failing if custom sudo user is used
  • [PLAT-3988] Make 2.12 platform compatible with universe_details_json created by 2.6 platform for on-prem universe

Database

  • [11165] [YSQL] Detect conflict in case of INSERT from 2 SERIALIZABLE txns
  • [11352] [DocDB] Skip system tables for splitting
  • [11521] [xCluster] Delete xCluster/cdc metrics when stream is deleted
  • [11611] [YCQL] Handle empty IN condition when partial primary key is specified]
  • [11733] [DST] [PITR] Data race on enabling snapshot throttling by default
  • [11915] [DocDB] Fix new -Wunused-but-set-variable warnings with clang on merge_test.cc and env_mirror.cc
  • [11990] [YSQL] Fix handling of invalid limit in limit node
  • [11997] [YSQL] Avoid catalog version increment in case of no changes
  • [12220] [YSQL] Use the correct value for ysql_output_buffer_size from relevant env variable
  • [12226] [DocDB] Smaller RBS chunk size default for master
  • [12248] [YSQL] Give error when user tries to create table using unsupported collation
  • [12251] [YSQL] Fix ysql_dump failure in READ COMMITTED isolation
  • [12319] [xCluster] alter_universe_replication prevents Table Deletion
  • [12340] [CDCSDK] Data validation failed for CQL Table with XCluster Bootstrap
  • [12349] [YCQL] Get rid of unnecessary JSON column value copies for each deserialization target
  • [12396] [YSQL] Fix RESET ALL crash
  • [12470] [YSQL] Unique indexes with INCLUDE behave abnormally
  • [12481] [DocDB] Fix null scan bound conversion in scanspecs

Known issues

Yugabyte Platform

  • If you create a universe with TLS off, attempting to enable TLS later will fail. This issue will be resolved in an upcoming release.

Database

N/A

v2.12.4.2 - June 17, 2022

Build: 2.12.4.2-b1

Downloads

           

Docker

docker pull yugabytedb/yugabyte:2.12.4.2-b1

Bug fixes

This release is a bugfix-only release for CDC:

  • [12497] After Table drop if we delete the CDC stream we get error.
  • [12526] Delete cdc_state table metadata on dropping a table
  • [12730] Set OpId of APPLY Record in the RunningTransaction during tablet bootstrap
  • Data inconsistency in CDC after restart of tserver
  • Retry for yb-client for a CDC Error and bootstrap option for CDC console client

v2.12.4.0

No public v2.12.4.0

Release 2.12.4.0 was not a public release.

v2.12.3.0 - April 8, 2022

Build: 2.12.3.0-b19

Downloads

           

Docker

docker pull yugabytedb/yugabyte:2.12.3.0-b19

New features

Yugabyte Platform

N/A

Database

N/A

Improvements

Yugabyte Platform

  • [PLAT-2785] Add description to maintenance window
  • [PLAT-3510] Improve ysqlsh connectivity command when TLS is enabled
  • [PLAT-3514] Add wait method in task executor to gracefully abort subtasks running loops to check status

Database

  • [10498] [DocDB] Prioritize automatic splitting of large tablets.
  • [10837] [DocDB] Allow manual splitting for tables with TTL and max file size for compactions
  • [11470] [YSQL] Make FK check happen in parallel
  • [11877] [YSQL] Allow yb_db_admin role to use event triggers

Bugs

Yugabyte Platform

  • [PLAT-3263] Fix coordinates for Sao Paulo
  • [PLAT-3537] Delete not resolved alerts with sourceUuid = null
  • [PLAT-3550] [TLS] Enabling TLS off task is failing

Database

  • [9421] [xCluster] Disallowing drop or truncate tables
  • [10594] [YSQL] Add sub-query AfterTrigger block for constraint checking in CopyFrom operation
  • [10837] [DocDB] Disable tablet splitting for TTL-enabled tables
  • [11273] [DocDB] Tables with custom replication policy for live replicas should not follow cluster configuration policy for read replicas
  • [11806] [YSQL] Avoid creating a distributed transaction for a single row UPDATE on a indexed table if indexed columns are not updated
  • [11875] [DocDB] Disable PITR if sequences were updated since the restore time
  • [11911] [YSQL] Use correct tuple descriptor
  • [11916] [xCluster] Eliminate Master Leader RPC when Updating Peers
  • [11918] [YSQL] Disallow pushing down RowComparisonExpression when there is a hash column in the index key
  • [11932] [DST] Acquire correct shared in-memory locks for explicit row locking
  • [11946] [DST] [PITR] Correctly set op ID when replaying snapshot operations during tablet bootstrap
  • [11956] [YBase] Master RPCs should retry if the master is unreachable
  • [11805] [YSQL] Avoid setting read time on client if possible

Known issues

Yugabyte Platform

  • If you create a universe with TLS off, attempting to enable TLS later will fail. This issue will be resolved in an upcoming release.

Database

N/A

v2.12.2.0 - March 30, 2022

Build: 2.12.2.0-b58

Downloads

           

Docker

docker pull yugabytedb/yugabyte:2.12.2.0-b58

New features

Yugabyte Platform

  • [PLAT-2031] Certificate rotation for Kubernetes universes
  • [PLAT-3159] Adding Ubuntu 20 support (x86 and ARM)

Database

  • [4873] [YSQL] Support backup/restore for multi-tablet range-split relations
  • [9019] CDC SDK Client API and Java Console Subscriber (BETA)
  • [11551] [YSQL] Create a new admin role called yb_db_admin

Improvements

Yugabyte Platform

  • [PLAT-2810] Simplifying adding instance types for AWS
  • [PLAT-2832] [PLAT-2848] [PLAT-3074] Limit Shell process output to 2MB
  • [PLAT-3168] Improvement - Instances are left behind if AddNodeToUniverse fails followed by delete node task.
  • [PLAT-3190] Turn off write read test metric collection based on runtime config
  • [PLAT-3222] [PLAT-3226] altering release regex for almalinux
  • [PLAT-3329] Revert client admin operation timeout to 120secs from 30 secs.
  • [PLAT-3426] Remove resource consuming metrics collection and prevent collect_metrics.sh parallel execution

Database

  • [8892] [11369] [11465] [DocDB] yb_backup performance improvements for large number of tablets
  • [10243] Add Gflag for tcmalloc gc release threshold
  • [10709] [YBase] Add a background task to retire old metrics.
  • [11258] [YCQL] Change timeout for saturated workers
  • [11327] [YSQL] Use FK batching in case of ALTER TABLE ADD CONSTRAINT FOREIGN KEY
  • [11383] [YSQL] Backup/Restore support for UDT/Enum types
  • [11398] [YBase] Autotune server_tcmalloc_max_total_thread_cache_bytes better
  • [11463] [YSQL] Pushdown RowComparisonExpression filters
  • [11480] [YSQL] Import Fix memory leak in IndexScan node with reordering
  • [11668] [YSQL] Allow yb_db_admin to CREATE/ALTER bypassrls attribute
  • [11781] Set xCluster service queue size to 5000
  • [YCQL] Use the same memory allocator for rapidjson::Document objects in Jsonb::FromJsonbInternal

Bugs

Yugabyte Platform

  • [PLAT-1822] Timeout occurs during file descriptor health check
  • [PLAT-2547] Fix resize and pause for universes
  • [PLAT-2817] Ignore overlay file systems during health check
  • [PLAT-2848] [PLAT-3074] Clean exit handler terminate pools on exit and shutdown logging
  • [PLAT-2949] On-Exit we platform should fail pending tasks with Abort state
  • [PLAT-3061] [UI] [HA] The paste button doesn't work for pasting the key in standby node
  • [PLAT-3113] [PLAT-3116] [xCluster] Lag metrics Graph is same for all Replication setups
  • [PLAT-3146] Delete orphaned/unattached resources on Azure when the instance is not created due to failure
  • [PLAT-3169] [PLAT-3171] Use provider KUBECONFIG in NodeUniverseManager (#11567)
  • [PLAT-3176] Clean up old root volumes after an upgraded node is removed or universe is deleted
  • [PLAT-3187] Exclude prometheusv2 directory from platform backup tar
  • [PLAT-3188] Fix health check failure after cert rotation
  • [PLAT-3215] Fix overload alerts
  • [PLAT-3228] Atomically set task state with error message for failed and aborted tasks in TaskExecutor.
  • [PLAT-3231] Fix running ysql upgrade on 2.9 release
  • [PLAT-3232] UI doesn't allow to change the preferred AZ during Edit Universe of a multi-region universe
  • [PLAT-3254] Universe creation on GCP is failing if scratch SSD is used
  • [PLAT-3294] Allow user to do node operations when the node is in stopping state after a task failure
  • [PLAT-3311] Backend must validate the input for edit universe task
  • [PLAT-3338] Upgrade Software action doesn't recreate symlinks in master
  • [PLAT-3390] [xCluster] Lag metrics shows NaN ms with BackUp/Restore scenario
  • [PLAT-3432] Backup scheduler doesn't do backups if the last/previous task wasn't marked as finished
  • [PLAT-3446] Fix null check in UniverseUpdateRootCert for rootCert privateKey
  • [PLAT-3465] Start Master action should check/update the master folder before starting the process
  • [Platform] Fix disable cert verify check for s3cmd in Backup Config

Database

  • [7378] [YSQL] Use colocation ID instead of table OID for colocation
  • [8980] [DST] Fix AutomaticTabletSplittingMovesToNextPhase and WriteRows helper to write data transactionally
  • [9468] [YSQL] Ensure clients don't see serialization errors in READ COMMITTED isolation (Part-3)
  • [9547] [YSQL] alter table of parent geo-partitioned table affects select on child
  • [9877] [DocDB] Fix xCluster Stream Deletion Race Condition
  • [10162] [DST] Do not filter out ApplyTransactionState records during post split compaction.
  • [10163] [DocDB] Regular DB special records could affect the correctness of a middle key calculation for split
  • [10605] [DocDB] Add has_split_parent_tablet_id() check in tablet split manager.
  • [10723] [YSQL] Add dependency between tables and users, reuse existing drop flow
  • [10746] [DST] Don't abort transactions during tablet shutdown in case of tablet split or LB move.
  • [11095] [YCQL] Reduce conversion between rapidjson::Document and common::Jsonb, take 1.5
  • [11118] [DocDB] Add empty path to sorted drive list when empty path reported by TS to avoid log spamming.
  • [11150] [YSQL] Fix renaming of matviews to pg_temp_xxxx after non-concurrent refresh
  • [11189] [DocDB] In a cluster with custom tablespaces, load balancing gets skipped for tables in a colocated database that opt out of colocation
  • [11258] [YCQL] Add timeout for prepare child
  • [11379] [Backup] deleting all regional folders for multi-region backup
  • [11393] [YSQL] Fixing the TServer crash caused by transaction abort returning error status
  • [11425] [YSQL] Fix foreign data wrapper (FDW) dangling reference bug
  • [11437] [DocDB] Verify parent tablet is not tracked by task before adding to compacting or scheduled splits.
  • [11527] [YQL] Correctly create range bound when IN list is empty
  • [11574] [DST] Handle empty aborted_subtxn_set response from transaction coordinator during upgrade.
  • [11630] [YSQL] Exception handling in stored procedure creates two internal sub-txns instead of one if READ COMMITTED isolation
  • [11662] [YSQL] Fix asan issue for TestPgIsolationRegress
  • [11730] [Geo] Fix non-local transaction errors running ysql_upgrade on geo-partitioned clusters
  • [11767] [Backups] Fix restoring colocated DB to DB with the same ID
  • [11799] [YSQL] [DocDB] Update all tablets when a remote server is unreachable
  • [DB-224] [YSQL] redact password in pg stat tables and logging
  • [YSQL] Redact auth key from logs on YSQL upgrade command

Known issues

Yugabyte Platform

  • If you create a universe with TLS off, attempting to enable TLS later will fail. This issue will be resolved in an upcoming release.

Database

N/A

v2.12.1.0 - February 22, 2022

Build: 2.12.1.0-b41

Downloads

           

Docker

docker pull yugabytedb/yugabyte:2.12.1.0-b41

New features

Yugabyte Platform

  • [PLAT-1885] Hashicorp Vault Integration is now GA
  • [PLAT-2341] UI support for Multiple on-prem provider instances
  • [PLAT-2362] Maintenance windows API and backend
  • [PLAT-2382] New backups API
  • [PLAT-2401] [PLAT-2404] New GFlag form component and validation for user entries
  • [PLAT-2402] UI form for user to add/edit Gflags in more accurate way
  • [PLAT-2403] Add Multiple G-flags from free text (JSON)
  • [PLAT-2479] LDAP Integration with Platform
  • [PLAT-2535] Add API endpoint for aborting tasks
  • [PLAT-2553] Node Comparison Feature in Metrics Page (Backend)
  • [PLAT-2562] UI support for abort task capability
  • [PLAT-2658] Integrate t3 instance type support
  • [PLAT-2750] YSQL_DUMP based backup-create and backup-restore
  • [PLAT-2766] Can now delete paused GCP instances
  • [PLAT-2996] Added Service Account Support
  • [PLAT-3020] [PLAT-3021] [PLAT-3022] LDAP UI & User Listing Page migration
  • [PLAT-3021] Pre Requisite for LDAP UI & Migrate User Listing from Profile Page to User Management Tab
  • [PLAT-3060] Add LDAPS and StartTls Support

Database

  • [8032] [YSQL] Add support for ALTER TYPE .. RENAME TO
  • [10451] [ysql] Add support for ADD CONSTRAINT .. UNIQUE .. USING INDEX
  • [10509] [10510] [YSQL] Add support for CREATE, DROP, and REFRESH MATERIALIZED VIEW

Improvements

Yugabyte Platform

  • [PLAT-2588] Make Backup task clean up processes on abort
  • [PLAT-2637] Add follower_lag_ms metric to priority regex list (replicated.yml)
  • [PLAT-2854] [PLAT-2873] Gflag UI improvements-2, disabled releases should not appear while creating universe
  • [PLAT-2891] [PLAT-2890] Add 2.12 major DB version Gflags metadata
  • [PLAT-2865] [UI] Filters and sorting on alert configuration page
  • [PLAT-2883] Add HTTP_PROXY, HTTPS_PROXY, NO_PROXY environment variable to replicated.yml
  • [PLAT-131] Added custom cert validation for preflight checks
  • [PLAT-580] Allow multiple xcluster between same source/target pair
  • [PLAT-580] Improve xcluster lag metric error handling
  • [PLAT-580] Include lag metric data in xcluster GET response
  • [PLAT-2164] Improvement - Make ReadOnlyClusterCreate retryable
  • [PLAT-2794] Move OIDC to runtime config
  • [PLAT-2917] Preflight checks for Azure backup config creation
  • [PLAT-2982] [PLAT-2963] Filter gflags in add gflag dropdown.
  • [PLAT-3002] [PLAT-3048] Deprecate Equinix KMS support in Platform
  • [PLAT-3036] Improvement - Improve task listing API performance
  • [PLAT-3042] [PLAT-3043] [PLAT-3044] [PLAT-3045] [PLAT-3076] feat: gflag ui enhancements and fix usability issues.
  • [PLAT-3090] Improvement - Universe is in locked state after GFlagsUpgrade fails in ModifyBlackListTask subtask
  • [PLAT-3095] [LDAP] [UI] Label and Tooltip Changes
  • [PLAT-3095] Label and Tooltip Changes
  • [PLAT-3101] [PLAT-3102] [PLAT-3103] [PLAT-3104] [PLAT-3105] [PLAT-3123] Xcluster UI Improvements
  • [PLAT-3112] Improvement - Wrong Task Type on UI for add read replica retry after an abort
  • [Platform] Updated the azcopy and node-exporter version (#11449)

Equinix KMS deprecated

Support for the Equinix KMS has been deprecated as of this release.

Database

  • [8023] [11142] [YQL] Enable DocDB to process lookups on a subset of the range key
  • [8732] [YSQL] [Backups] [Geo] Storing Geo-Partitioned Backups to Regional Object Storage Buckets
  • [10513] [DocDB] Adding file deletion option to universal compaction picker (TTL expiry)
  • [10536] [10828] [Geo] Consolidate TS txn status tablet cache update into one RPC
  • [10605] [DocDB] Refactor Tablet Split Manager to rebuild its state of existing splits periodically.
  • [10730] [xCluster] Add force option to delete_CDC_streams CLI
  • [11263] [DocDB] Disable automatic tablet splitting in 2.12 release.

Bugs

Yugabyte Platform

  • [PLAT-2241] Fix for the error: 'ascii' codec can't encode character
  • [PLAT-2366] [UI] Suspend alerts during maintenance window
  • [PLAT-2508] Missing graph view at Replication tab UI
  • [PLAT-2518] Fixing ulimits for systemd universes
  • [PLAT-2523] Onprem: Remove/Add node leaves the platform "node_instance" Postgres DB table in a corrupted state
  • [PLAT-2585] Fix the metrics inconsistency
  • [PLAT-2622] allow adding instance with trailing slash in address
  • [PLAT-2673] Validating custom keypair with AWS
  • [PLAT-2689] Missing backslash () in Prometheus YAML for expired_transactions (replicated)
  • [PLAT-2705] Platform restart can leave some tasks in incomplete stuck state
  • [PLAT-2708] Some fixes for parallel tests execution
  • [PLAT-2763] DestroyUniverse leaks instance in cloud provider if Platform exits before the node IP is updated.
  • [PLAT-2767] Exception is logged repeatedly for paused universe due to attempt to send universe keys to nodes.
  • [PLAT-2772] [PLAT-2860] Accept additional parameters in CreateUniverse API for custom AMI flow from Cloud
  • [PLAT-2813] Investigate why local changes in Universe object in transaction in lockUniverse is overwritten by another fetch of the Universe from DB into a different object.
  • [PLAT-2858] Restore fails as universe key cannot be decrypted using new universe.
  • [PLAT-2859] [PLAT-2617] Adding DB name additionally while connecting ysqlsh
  • [PLAT-2863] GP: Backups handling
  • [PLAT-2866] xCluster Add remove tables model is incorrect
  • [PLAT-2869] GP: Correct data replicas allocation when default region is defined
  • [PLAT-2870] [UI] Unable to create Read Replica until reselect provider (no accessKeyCode in payload)
  • [PLAT-2888] [PLAT-2224] Disable renaming of table during restore flow.
  • [PLAT-2889] [HA] [UI] Change the button to "paste" instead of "copy" in Key field of Standby Nodes
  • [PLAT-2910] fix: UI breaks if the value for a flag is a large string
  • [PLAT-2912] [PLAT-2913] Hide change password fields and disable role editing for ldap users
  • [PLAT-2920] [Alert] UI Issues in New Alert filter in Alert Policies tab
  • [PLAT-2935] Bump up timeouts for API calls which need master leader to be available.
  • [PLAT-2941] fix: Remove the email check for LDAP users
  • [PLAT-2947] [Alerts] [UI] UI Issues in Alert Maintenance Screen
  • [PLAT-2974] Delete Windows AD user when user does not exist on login attempt
  • [PLAT-2978] Change Hashicorp vault KEK to have name such that it can be used between multiple configs as long as the config params matches.
  • [PLAT-2989] Universe upgrade failed due to "Error running
  • [PLAT-3006] [UI] xcluster Replication tab crash
  • [PLAT-3047] Fix runtime config logging for LDAP and OIDC
  • [PLAT-3056] [UI] Universe Metrics -> Replication graph is empty
  • [PLAT-3084] UI doesn't send the payload with "false" when we set ldap_enable_start_tls and enable_ldaps
  • [PLAT-3097] Fix preflight check for manual provisioned nodes
  • [PLAT-3101] [xCluster] Timezone mismatch in different tabs of xCluster(Replication Tab)
  • [PLAT-3133] Azure backups failure because of SSH commands bundling

Database

  • [4692] [YSQL] Stop scan before the client timeout
  • [10347] [DocDB] Only call ShouldSplitValidCandidate for automatic splits.
  • [10818] [DocDB] Fix max metrics aggregation metadata to match the entry with the max value
  • [10879] [Geo] Fix TS crash when accessing nonlocal data from a local transaction
  • [10912] Send truncate colocated requests for the indexes associated with the table
  • [10995] Release the memtable mutex before going to sleep.
  • [11038] [YSQL] Check return status for PG gate functions
  • [11047] [11072] [YSQL] Fix two issues with large OID
  • [11090] [YSQL] Fix incorrect scan result due to scan key pushdown
  • [11094] [YSQL] Fix Postgres exception handling
  • [11167] [YSQL] Release resources on YbScanDesc freeing
  • [11195] [DST] [PITR] Disallow consecutive restores guarded by a flag
  • [11198] [DocDB] Restores should not fail if tablet is moved/deleted off a tserver
  • [11206] [YSQL] [Upgrade] Make YSQL upgrade do nothing when YSQL is not enabled
  • [11230] [YSQL] Block planner peeking at YB indexes
  • [11262] [YSQL] Fix assertion failure on where clause with < any operator
  • [11335] [DocDB] Restore should return an error if it hits max number of retries
  • [11346] [YSQL] Fix bug in YBCIsSingleRowUpdateOrDelete
  • [11347] [YSQL] Fix bug in ALTER TABLE ADD PRIMARY KEY
  • [11440] [YSQL] Drop temp table when session terminates
  • [YCQL] Move batch ID generator as field of AuditLogger

Known issues

Yugabyte Platform

N/A

Database

N/A