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.2 — September 2026
Fixed Issues
-
CBG-5593 — sharded resync: checkpoint on latest sequence instead of snapshot sequence
-
CBG-5594 — Resync status returns as completed instead of Stopped
-
CBG-5614 — slow channel cache data leak with skipped sequences and active replications
-
CBG-5740 — Channel cache compact_low_watermark_pct config not wired up correctly
-
CBG-5756 — Resync can drop pre 4.0 attachment metadata if run on a document that has not yet had its attachment metadata migrated CBG-5773 — ISGR replications from 4.x <→ 4.x will not update channel, access information
-
CBG-5818 — Role deletion with purge=true allocates a sequence and never releases it
4.1.1 — July 2026
| If you use Sync Gateway 4.1.0, upgrade to this release to receive critical fixes. |
Version 4.1 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
-
CBG-5552 — activeOnly replication can miss documents for channels over the pagination limit
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