Skip to content

Commit 9be7cea

Browse files
authored
DOC-12402 Edit 2 XDCR Compression Type Values (#3849)
1 parent ff0b744 commit 9be7cea

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

modules/xdcr-reference/pages/xdcr-advanced-settings.adoc

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,17 @@ For more information, see xref:learn:clusters-and-availability/xdcr-conflict-res
117117
[#xdcr-compression-type-values]
118118
== XDCR Compression-Type Values
119119

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

122-
* If `Auto` is specified, data compression _is_ attempted during replication, given that the target cluster is running Couchbase Server 5.5 or later.
123-
If the target cluster is _not_ running Couchbase Server 5.5 or later, data compression is _not_ attempted during replication.
124-
(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.)
122+
* 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.
123+
+
124+
NOTE: When `compressionType` is set to `Auto`, the behavior remains the same whether the data in the source bucket is compressed or uncompressed.
125125
126-
* If `None` is specified, data compression is not attempted during replication if the target cluster is not running Couchbase Server 5.5 or later.
127-
If the target cluster _is_ running Couchbase Server 5.5 or later:
126+
* 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.
127+
+
128+
However, if the target cluster is running Couchbase Server 5.5 or a later version, and:
128129
129-
** If the data resides in the source bucket in uncompressed form, data compression is _not_ attempted.
130+
** If the data resides in the source bucket in uncompressed form, then the data compression is not attempted.
130131

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

0 commit comments

Comments
 (0)