Release Notes
- Quicklinks
-
Release 3.1 | Release 3.0 | Release 2.8 | Archived documentation
Couchbase Sync Gateway
This content describes the key features and changes implemented by release 3.2.1 of Couchbase Sync Gateway
One Way Upgrade
The migration to 3.x configuration is a ONE WAY process — see: Upgrading for more. |
3.2.1 — October 2024
Enhancements
-
CBG-4150 - Index optimizations for large number of collections
-
CBG-4174 - Force disconnection of blip clients on database close
-
CBG-4196 - Check for context cancellation in buildRevokedFeed if no docs require revocation
-
CBG-4201 - Add missing logging for ChangesOptions for Changes requests
-
CBG-4294 - Resolve pattern matching for rocky and alma linux to fall into rhel pathways
Deprecations
None for this release.
For an overview of the latest features offered in Sync Gateway 3.2, see New in 3.2. |
3.2.0 — September 2024
Do not deploy Eventing/Sync Gateway until all SGW nodes are at version 3.2. For older Sync Gateway versions that do not write import XATTRs, Eventing functions may encounter infinite recursions and duplicate mutations if deployed in a mixed mode SGW environment. This can only happen during a mixed mode of SGW with a 3.2 version and an older version during an upgrade and a new Eventing/Sync Gateway function is deployed. |
Audit Logging for Sync Gateway
Couchbase now provides Audit Logging support for Sync Gateway. Audit Logging provides tools for administrators to track operational irregularities and to support regulatory and security compliance standards.
For more information on new features and enhancements in this release, see New In 3.2.
Version 3.2.0 of Sync Gateway also delivers the following features and enhancements:
Fixed Issues
-
CBG-2909 - Fixed import still starts when an offline database is created
-
CBG-2944 - Fixed proveAttachment incompatibility between 3.0.x and 2.8.x
-
CBG-2973 - Fixed Panic inside Mutable1xBody for nil shallow copy
-
CBG-2983 - Fixed cbgt importlistener leaves open a connection to a bucket after database is deleted
-
CBG-2998 - Fixed cbgt cluster connection fails with HTTP polling enabled and TLS disabled
-
CBG-3022 - Fixed replicator will not reconnect when max_back_off != 0
-
CBG-3024 - Fixed CE Import feed starting from vb highseqno instead of zero
-
CBG-3043 - Fixed cbgt panics when setting up import feed for server versions < 7.0
-
CBG-3102 - Fixed initial OIDC setup fails for keyspace request
-
CBG-3195 - Fixed simultaneous role grant + subChanges will cause role grant to not be recognized
-
CBG-3196 - Fixed cannot update db config from implicit
_default
scope to explicit_default
scope -
CBG-3553 - Fixed increasing memory usage when failing to apply a database config from the bucket
-
CBG-3688 - Fixed kv_pool_size on import feed can be non zero
-
CBG-3817 - Fixed collection appears to be linked to 2 DBs after update error
-
CBG-3820 - Drop logging volume for pending insertions and doc not found logging
-
CBG-3835 - Tweak logging around import of JSON but not JSON object docs
-
CBG-3844 - updateSeq must happen after DCP callback invocation
-
CBG-3856 - Fixed GET /db RBAC permissions missing for Sync Gateway Architect
-
CBG-3883 - Fixed OIDC-auth causes admin_channels/admin_roles loss
-
CBG-3888 - Fixed sgcollect_info TypeError when task execution timeout occurs
-
CBG-3950 - Fixed database with default db can see users matching other databases in the bucket
-
CBG-3988 - Fixed documents may not be imported when collection added to an existing db
-
CBG-3996 - Fixed sgcollect doesn’t work on mac distributions
-
CBG-4003 - Fixed DeleteRole doesnt trigger history calculation for named collections
-
CBG-4025 - Fixed users roles are not getting invalidated after a resync
-
CBG-4055 - Fixed incorrect types listed in API docs for all_docs query parameters
-
CBG-4070 - Fixed panic in CheckpointHash function for bucket UUID call
-
CBG-4106 - Fixed if we error in removeCorruptConfigIfExists we don’t unload/remove database
-
CBG-4128 - Decouple client request context from lazy-init OIDC discovery sync process
-
CBG-4136 - API Docs: Limit scopes configuration to only one entry
-
CBG-4221 - Pending unused sequences shouldn’t update high cache sequence
-
CBG-4218 - Fixed duplicated sequences can cause SGW to be unresponsive
Enhancements
-
CBG-2837 - Streamline database creation when using many collections
-
CBG-2853 - Allow one-shot replications to wait for DCP to catch up on changes feed
-
CBG-2898 - Add num_replications_rejected_limit stat for replication connection limit
-
CBG-3101 - Use Scope().Query() for N1QL in cases where CB Server supports it
-
CBG-3157 - Improve handling for docs mutated during one-shot replication
-
CBG-3520 - Updating import_filter and sync_filter to empty string does not work for named collection
-
CBG-3563 - Automatic profile collection when exceeding memory thresholds
-
CBG-3613 - docker: switch current working directory to a writeable directory
-
CBG-3640 - Change default SG config to use persistent config
-
CBG-3696 - Empty user_xattr_key doesnt clear db config field
-
CBG-3768 - Avoid writing back the document body during import unless required
-
CBG-3823 - Warn when releasing a large number of unused sequences
-
CBG-3837 - Don’t perform per-document logging when processing an unused sequence range
-
CBG-3839 - Detect and handle _sync:seq rollback in sequence allocator
-
CBG-3849 - Recovery from cas mismatch on metadata documents when using xattrConfig
-
CBG-3896 - Compatibility enhancements for eventing source bucket mutations
-
CBG-3905 - Logging for GetDatabaseConfigs verbose and ambiguous
-
CBG-3938 - sgcollect_info: Switch to runtime config endpoint to determine logFilePath
-
CBG-3957 - Add a reason for why a database is offline in /_all_dbs
-
CBG-3960 - Add stats for norev and replacement rev replication messages
-
CBG-3962 - Do not regenerate principal seqs unless resync is running on default collection
-
CBG-3963 - Check/wait for principal doc index readiness in resync w/ regenerate sequences
-
CBG-4027 - Failure to perform on-demand import should result in not found/noRev
-
CBG-4072 - Uptake gocb enhancement to lower config mismatch logging to debug
-
CBG-4163 - Log the origin of setting metadata ID when updating a dbconfig
Deprecations
For an overview of the latest features offered in Sync Gateway 3.2, see New in 3.2. |
Upgrading
For more on upgrading — see: Upgrading