Release Notes for Couchbase Server 7.1

      +

      Release 7.1.3 (November 2022)

      Couchbase Server 7.1.3 was released in November 2022. This release contains fixes to issues.

      Fixed Issues

      This release contains the fixes listed below.

      Cluster Manager

      Issue Description

      MB-54428

      Cannot view Analytics Service from CB Server UI

      Data Service

      Issue Description

      MB-53922

      Ephemeral purger can delete a StoredValue which is still referenced

      XDCR

      Issue Description

      MB-54508

      XDCR - Unable to create replications

      MB-54416

      AdvFilter upgrade happens pre-emptively leading to missed documents

      MB-54332

      Inter Cluster XDCR failing

      MB-54431

      XDCR Metakv callbacks racing when remote cluster ref is added/changed

      Query Service

      Issue Description

      MB-54540

      LIMIT clause is not working properly with ORDER BY clause

      MB-54043

      Potential for request stall if stream operator fails to notify request that it has terminated

      Search Service

      Issue Description

      MB-54284

      Panic while calling math/rand

      Release 7.1.2 (October 2022)

      Couchbase Server 7.1.2 was released in October 2022. This release contains new features and fixes to issues.

      Features

      The following new features are provided.

      New Supported Platforms

      This release adds support for the following platforms:

      • ARM v8 now supported on Ubuntu 20.04 (AWS Graviton)

      See Supported Platforms for the complete list of supported platforms, and notes on deprecated platforms.

      Deprecated Platforms and Procedures

      The following platforms and procedures are deprecated:

      • SUSE Linux Enterprise Server 12 versions earlier than SP2 are deprecated: in the future, they will no longer be supported.

        See Supported Platforms for the complete list of supported platforms, and notes on deprecated platforms.

      • After 7.1.2, offline upgrade for Windows will not be supported. Note that this means that no procedure will be available for the upgrade of a single-node Windows cluster.

        Install, uninstall, and repair for Windows will continue to be supported after 7.1.2.

      Fixed Issues

      This release contains the fixes listed below.

      Data Service

      Issue Description

      MB-53046

      wait for seqno persistence won’t timeout on idle vbucket

      MB-51608

      Memcached crashes in 20 bucket throughput test due to exception

      MB-47267

      Vbucket stats call to KV can timeout during delta node recovery preparation

      Query Service

      Issue Description

      MB-52254

      Improve pagination queries with fetch

      MB-52764

      Race condition between stop signal and timeout

      MB-52253

      Push filters to index scan to potentially reduce fetch size

      MB-52959

      UNNEST query 'usedMemory' issue when using Query Memory Quota

      MB-52443

      Include missing key Index syntax on Index workbench doesn’t show include keyword in definition

      MB-31640

      subqueries should be advised, explained and monitored

      Index Service

      Issue Description

      MB-52063

      With Collection Indexer should index leading MISSING entries

      MB-51947

      indexer blocked during storage warmup on MOI storage, causing rebalance failure.

      MB-52443

      Include missing key Index syntax on Index workbench doesn’t show include keyword in definition

      Search Service

      Issue Description

      MB-51760

      GeoJSON Spatial Indexing support

      Analytics Service

      Issue Description

      MB-52783

      Select * query throws Failure contacting server for parquet files

      Eventing Service

      Issue Description

      MB-52808

      Eventing function deployment taking a long time

      MB-52365

      appcode rest api returns bytes instead of string

      MB-52367

      Log function scope for lifecycle operation audit logs

      MB-52372

      Unable to modify function settings when user has only eventing_manage_functions role

      MB-52587

      Eventing Multi Collection: Inter function recursion not detected in case of sbm handler

      MB-52369

      Eventing Service should honor the CPU & Memory limits set in cgroups

      MB-52745

      Memory limits are not checked while setting eventingMemoryQuota via REST API

      MB-52540

      multi-collection-eventing: eventing leaks source bucket mutation to eventing consumer

      MB-52705

      Function app-log Write hangs when called after Close

      MB-52370

      Incorrect query param encoding for curl binding and path param is not encoded

      MB-52645

      Change in error returned when non-existing bucket used in function creation

      MB-52364

      Eventing function should be able to listen to multiple collections in a bucket at the same time

      MB-52560

      Timers handler stuck in deploying state after offline upgrade from 6.6.5 to 7.1.1

      MB-52374

      Log a system event when an eventing function is auto undeployed due to RBAC changes

      MB-52746

      Number of cpu cores mentioned in UI warning does not take into account container limits

      MB-52371

      LCB_ERR_TIMEOUT thrown when keyspace for a bucket binding does not exist

      MB-52473

      Eventing Multi Collection: Function deployment successful for a function listening at scope level even though scope does not exist

      MB-52562

      Unable to modify function settings when user has only eventing_manage_functions role

      MB-52572

      Unable to modify function settings when user has only eventing_manage_functions role

      XDCR

      Issue Description

      MB-52282

      Support new cgroup API from sigar in XDCR

      MB-53102

      XMEM will leak memory if pipeline is paused with full buffer

      Release 7.1.1 (July 2022)

      Couchbase Server 7.1.1 was released in July 2022. This maintenance release contains fixes to issues.

      Fixed Issues

      This release contains the fixes listed below.

      Data Service

      Issue Description

      MB-52248

      Memcached hangs when no passphrase is passed for encrypted private key

      XDCR

      Issue Description

      MB-51939

      XDCR does not update memcached flag/body after txn xattribute removal if user xattr is not found

      MB-52431

      Add authType back to bucket properties in pools/default/buckets/bucket-name

      Query Service

      Issue Description

      MB-52413

      Negative integer in the 64bit range causes rounding

      MB-52255

      Stop session hangs

      MB-52178

      IN/NOT IN filters not using Hash for evaluation - continued

      MB-52179

      LEFT JOIN breaks with between operator on non-existing attribute

      MB-52412

      WITH clause distribution over union queries deviates from sql standard

      MB-52161

      Adhoc query index selection issue with LIKE as index condition and query parameters

      MB-52511

      Refresh_cluster_map fails with ERROR 199 : N1QL: Invalid query service endpoint

      Eventing Service

      Issue Description

      MB-52492

      Function causing recursion is missing from ERR_INTER_BUCKET_RECURSION error description

      Backup Service

      Issue Description

      MB-51892

      The Backup Service or cbauth can get stuck in a state where it will not reconnect to ns_server

      Release 7.1 (May 2022)

      Couchbase Server 7.1 was released in May 2022. This release contains new features, enhancements, and fixes.

      New Features

      This section highlights the notable new features and improvements in this release.

      • Analytics shadow data may now be replicated up to 3 times to ensure high availability. Refer to General Settings.

      • Analytics now supports Analytics views and tabular Analytics views. Refer to Analytics Views.

      • The new Tableau Connector provides integration between tabular Analytics views and the Tableau interactive data visualization platform. Refer to Couchbase Tableau Connector.

      • The Analytics Service now supports external datasets on Azure Blob storage. Refer to Managing Links and Analytics Links REST API.

      • Analytics now supports array indexes. Refer to Using Indexes and Data Definition Language (DDL).

      • The cost-based optimizer may now consider different join orders, and can choose the optimal join order based on cost information. Refer to Join Enumeration.

      • The Query service now supports optimizer hints within queries using a specially-formatted hint comment. Refer to Optimizer Hints.

      • Couchbase Server now permits multiple root certificates to maintained in a trust store for the cluster. See Using Multiple Root Certificates.

      • Couchbase Server now supports PKCS #1 and PKCS #8 — in each case, only for use with private keys. See Private Key Formats.

      • Use of encrypted private keys is now supported for certificate management. Registration procedures are provided for encrypted private keys associated with node-certificates. See JSON Passphrase Registration.

      • System Events are now provided, to record significant events on the cluster. See System Events.

      • New roles are provided for the administration of Sync Gateway, especially in the context of Couchbase Capella. These roles are listed at Roles.

      • TLS 1.3 cipher-suites can now by used by all services; and by the Cluster Manager, XDCR, and Views. See On the Wire Security.

      • Heightened security is now provided for adding nodes to clusters. Once a cluster is using uploaded certificates, a node that is to be added must itself be provisioned with conformant certificates before addition can be successfully performed. The new node is now always added over an encrypted connection. See Adding New Nodes.

      • The scalability of indexing is enhanced by the flattening of arrays. See Format of Query Predicate.

      • Automatic failover can now fail over more than three nodes concurrently. See Automatic Failover. This improvement has permitted the deprecation of pre-7.1 interfaces that were specific to triggering auto-failover for server groups. Consequently, in order now to ensure successful auto-failover of a server group, the maximum count for auto-failover must be established by the administrator as a value equal to or greater than the number of nodes in the server group.

        Note also that in 7.1, automatic failover of the Index Service is supported.

      • Improvements have been made to rebalancing algorithms so that active buckets, services, and replicas will be spread across different server groups, even when server groups are unequal. See Server Group Awareness.

      • The Magma Storage Engine has been added to 7.1 as an Enterprise Edition feature, allowing for higher performance with very large datasets. Magma is a disk-based engine, so is highly suited to datasets that will not fit in available memory. You can find more details on Magma in Storage Engines.

      • The Eventing Service now has full RBAC support allowing non-administrative users to create and manage Eventing Functions subject to the user’s assigned resource privileges. You can find more details on Magma RBAC in Eventing Role-Based Access Control.

      Enhancements

      The following enhancements are provided in this release:

      • The Analytics function object_concat has been updated to support dynamic uses, similar to the more general OBJECT constructor functionality that is available in the Query Service. Refer to object_concat.

      • XDCR checkpointing is now entirely persistent through topology-changes on the source cluster. This provides improved performance when failover and rebalance occur on the source cluster.

      • The Plasma Storage Engine has been enhanced with per page Bloom filters and in-memory compression. For information, see Plasma Memory Enhancements.

      • Root and intermediate certificates can now be managed while node-to-node encryption is enabled. See Certificate Management and Node-to-Node Encryption.

      New Supported Platforms

      This release adds support for the following platforms:

      • Apple macOS v11.6 (Big Sur) for development only

      • Apple macOS v12.x (Monterey) for development only

      • Amazon Linux (ARM)

      • Debian 11.x

      • Microsoft Windows Server 2022

      See Supported Platforms for the complete list of supported platforms, and notes on deprecated platforms.

      Deprecated Features and Platforms

      Deprecated and Removed Platforms

      The following platforms are deprecated and will be removed in a future release:

      • Apple macOS v10.14 (Mojave) – removed

      • Apple macOS v10.15 (Catalina) – deprecated

      • CentOS 7.x – deprecated

      • CentOS 8.x – removed

      • Debian 9.x – removed

      • Microsoft Windows Server 2016 – removed

      • Microsoft Windows Server 2016 (64-bit, DataCenter Edition) – removed

      • Oracle Linux 7.x – deprecated

      • Red Hat Enterprise Linux (RHEL) 7.x – deprecated

      • Ubuntu 18.x – deprecated

      Deprecation of Certificate Upload API

      The POST method and /controller/uploadClusterCA URI, which historically have been used to upload an appropriately configured certificate to the cluster, so that it becomes the root certificate for the cluster, are deprecated in 7.1.

      For security reasons, in versions 7.1 and after, by default, this method and URI can continue to be used on localhost only. However, this default setting can be changed, if required. For details, see Deprecated Certificate Management APIs.

      Note that new methods and URIs for certificate management are summarized on the page Certificate Management API.

      Deprecation of Server-Group Auto-Failover

      Automatic failover can now fail over more than three nodes concurrently: this improvement has permitted the deprecation of pre-7.1 interfaces that were specific to triggering auto-failover for server groups. Consequently, in 7.1+, in order to ensure successful auto-failover of a server group, the maximum count for auto-failover must be established by the administrator as a value equal to or greater than the number of nodes in the server group.

      An overview of auto-failover is provided in Automatic Failover. Updated interfaces for 7.1 are documented in Node Availability, Enabling and Disabling Auto-Failover, and Retrieving Auto-Failover Settings.

      Fixed Issues

      This release contains the fixes listed below.

      Installation

      Issue Description

      MB-33522

      Fix cbupgrade for single node IPv6 clusters

      MB-47806

      Windows installer always rollbacks during install

      Cluster Manager

      Issue Description

      MB-44777

      The old bucket 'sasl_password' should be effectively removed

      MB-44800

      The versions REST API should be authenticated

      Storage

      Issue Description

      MB-49512

      Cleaning up of the cluster fails with "Rebalance exited with reason {buckets_shutdown_wait_failed"

      Data Service

      Issue Description

      MB-46827

      Limit the Checkpoint memory usage

      MB-49977

      Cannot make persistent change to num nonio/auxio threads

      MB-50708

      Align roles to updated permissions in memcached

      Views

      Issue Description

      MB-50383

      ViewEngine doesn’t handle the case of empty default-collection

      MB-51045

      Views 8092 REST API leaking version info

      Analytics Service

      Issue Description

      MB-51446

      On corrupt remote link details in metakv, analytics cluster becomes permanently unusable on restart

      Query Service

      Issue Description

      MB-19101

      Query log format

      MB-44757

      Support FTS’s docid_regexp mode for N1QL

      MB-46802

      Mutation fail may not report the error

      MB-47366

      Public interface documentation on parsing 12009 DML error

      MB-48402

      Like functions escape character should be optional

      Index Service

      Issue Description

      MB-33546

      Smart Batching Index Builds During Rebalance

      MB-46725

      Rebalance button not enabled post Quorum Loss failover even when indexing has partitioned indexes

      MB-46895

      Internal Server error is raised while performing backup on a index node using cbbackupmgr

      MB-51196

      Index build stuck during rebalance due to large number of pending items

      Search Service

      Issue Description

      MB-26024

      Rebalance optimisations via index file transfer across nodes

      MB-41195

      Bind only to IPv4 addresses when invoked with IPv4-Only cluster-wide setting

      MB-46260

      FTS - Apply RBAC only for target collections in a multi-collection index

      MB-46978

      n1fty to upgrade to blevesearch/sear for verification phase

      MB-47017

      Support encrypted certificate / key / password - Search

      MB-47029

      System Event Log - Search

      MB-47177

      Multiple Root CA Certs - FTS

      MB-49188

      Search UI should be able to accept queries as objects

      MB-49218

      Add Croatian language (hr) to the list of supported languages

      MB-51059

      SEARCH_META().score behaves different from SEARCH_SCORE() in some N1QL queries

      Eventing Service

      Issue Description

      MB-45973

      Timer not firing after upgrade, worker count change and service crash

      MB-46304

      Add ability to enable/disable the cURL functionality

      MB-48702

      Eventing consumes large amount of CPU with no functions.

      Known Issue

      This release contains the following known issue.

      Query Service

      Issue Description

      MB-50936

      Summary: Implement defs.CheckMixedModeCallback for mixed mode checks

      Any attempt to execute a function with N1QL udfs replicated from a 7.1 node will fail with "no library found in worker" on a 7.0.x node.

      Workaround: If possible, all nodes in cluster should be running under version 7.1 or higher.