You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/xdcr-reference/pages/xdcr-advanced-settings.adoc
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,15 +117,17 @@ For more information, see xref:learn:clusters-and-availability/xdcr-conflict-res
117
117
[#xdcr-compression-type-values]
118
118
== XDCR Compression-Type Values
119
119
120
-
The _XDCR Compression Type_ setting can be either `Auto` or `None`:
120
+
The XDCR Compression Type setting can be either `Auto` or `None`.
121
121
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.
125
125
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:
128
129
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.
130
131
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