What's new in the v2.12 stable release series
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.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_adminto 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 Softwareaction 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 Masteraction should check/update themasterfolder 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