Release Notes
- Quicklinks
-
Release 4.0 | Release 3.3 | Release 3.2 | Release 3.1 | Release 3.0 | Archived documentation
Couchbase Sync Gateway
This content describes the key features and changes implemented by release 4.1 of Couchbase Sync Gateway
|
One Way Upgrade
The migration to a 4.x configuration is a ONE WAY process — see: Upgrading for more. |
4.1.1 — July 2026
4.1.0 — June 2026
| Users of this release should upgrade to Sync Gateway 4.1.1 or later to receive critical fixes. |
Version 4.1.0 of Sync Gateway delivers the following features and enhancements.
Non-Disruptive Rolling Upgrades
Sync Gateway 4.1 introduces cluster compatibility version, enabling node-by-node upgrades without downtime, with a safe rollback path throughout the upgrade window.
For more information, see Cluster Compatibility Version.
Distributed Resync
Sync Gateway 4.1 redesigns resync to distribute work in parallel across all cluster nodes, replacing the previous single-node sequential approach.
For more information, see Resync.
Channel History Management
Sync Gateway 4.1 introduces Admin REST API endpoints for retrieving and pruning channel history on both user records and documents, reducing metadata bloat and unnecessary revocation messages during zero-checkpoint replications.
For more information, see Channel History Management.
Metadata Isolation: Migrate to System Collection
Sync Gateway 4.1 introduces an opt-in migration that moves Sync Gateway internal metadata from _default._default to _system._mobile, isolating it from user application data.
The migration is never applied automatically at upgrade and cannot be reversed.
For more information, see Migrate Metadata to System Collection.
For a full overview of new features in this release, see New in 4.1.
Fixed Issues
-
CBG-4345 — Couchbase Server timeout error causes panic in GetUser
-
CBG-4939 — Couchbase Lite 4.0 is allowed to connect to Sync Gateway 3.2.6/3.3.0
-
CBG-5020 — Panic during memory based cache eviction can deadlock revision cache shard
-
CBG-5051 — Non-integer sequence numbers are incorrectly encoded for norev messages for CBL
-
CBG-5134 — Current revision attachments can be loaded when loading backup rev by CV
-
CBG-5145 — Replacement revs never utilized for unfiltered replications
-
CBG-5365 — Problem with channel removal macro expansion when channel names have
.in them -
CBG-5381 — Resync regenerate sequences will not set _default metadata id when finished
-
CBG-5436 — Subdoc operation failure on multiple channel removal
Enhancements
-
CBG-3848 — Distributed resync via sharding for improved throughput and HA
-
CBG-4363 — Enable xattr only DCP stream for Sync Gateway caching feed
-
CBG-4651 — Support persistent-config cluster-wide operation via /db/_offline
-
CBG-5206 — Cluster Compatibility and Rolling Upgrade Enhancements
-
CBG-5221 — System scoped metadata and online migration process
-
CBG-5254 — REST endpoint for pruning document channel history
Upgrading
For more on upgrading — see: Upgrading