Skip to content

DOC-12402 Edit 2 XDCR Compression Type Values #3849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions modules/xdcr-reference/pages/xdcr-advanced-settings.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,17 @@ For more information, see xref:learn:clusters-and-availability/xdcr-conflict-res
[#xdcr-compression-type-values]
== XDCR Compression-Type Values

The _XDCR Compression Type_ setting can be either `Auto` or `None`:
The XDCR Compression Type setting can be either `Auto` or `None`.

* If `Auto` is specified, data compression _is_ attempted during replication, given that the target cluster is running Couchbase Server 5.5 or later.
If the target cluster is _not_ running Couchbase Server 5.5 or later, data compression is _not_ attempted during replication.
(Note that the consequences of specifying `Auto` as the value of `compressionType` are thereby determined irrespective of whether the data resides in the source bucket in compressed or uncompressed form.)
* When `Auto` is specified, data compression is attempted during replication only if the target cluster is running Couchbase Server 5.5 or a later version.
+
NOTE: When `compressionType` is set to `Auto`, the behavior remains the same whether the data in the source bucket is compressed or uncompressed.

* If `None` is specified, data compression is not attempted during replication if the target cluster is not running Couchbase Server 5.5 or later.
If the target cluster _is_ running Couchbase Server 5.5 or later:
* When `None` is specified, data compression is not attempted during replication if the target cluster is not running Couchbase Server 5.5 or a later version.
+
However, if the target cluster is running Couchbase Server 5.5 or a later version, and:

** If the data resides in the source bucket in uncompressed form, data compression is _not_ attempted.
** If the data resides in the source bucket in uncompressed form, then the data compression is not attempted.

** If the data resides in the source bucket in _compressed_ form, data compression _is_ attempted.
** If the data resides in the source bucket in compressed form, then the data compression is attempted.
The data compression is attempted means that the data is snappy-compressed only if the encoded size is lesser than the raw size.