From 0f4233f2e56bac954b3e1c30f04cabefbd8dc607 Mon Sep 17 00:00:00 2001 From: Fortune Ikechi Date: Thu, 7 Aug 2025 12:00:05 +0100 Subject: [PATCH 1/2] added admonition for xdcr --- .../server-compatibility/server-compatibility-xdcr.adoc | 1 - modules/ROOT/pages/sync/sync-with-couchbase-server.adoc | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/ROOT/pages/server-compatibility/server-compatibility-xdcr.adoc b/modules/ROOT/pages/server-compatibility/server-compatibility-xdcr.adoc index cd6a5a059..e4fa2787c 100644 --- a/modules/ROOT/pages/server-compatibility/server-compatibility-xdcr.adoc +++ b/modules/ROOT/pages/server-compatibility/server-compatibility-xdcr.adoc @@ -86,7 +86,6 @@ It pushes data from the primary data center to the secondary data centers, where image::{image-xdcr-data-replication-to-read-only}[,std-image-size] ==== - [#lbl-prov-drc] == Disaster Recovery Scenario diff --git a/modules/ROOT/pages/sync/sync-with-couchbase-server.adoc b/modules/ROOT/pages/sync/sync-with-couchbase-server.adoc index 32c332646..ad4d58d5f 100644 --- a/modules/ROOT/pages/sync/sync-with-couchbase-server.adoc +++ b/modules/ROOT/pages/sync/sync-with-couchbase-server.adoc @@ -56,6 +56,8 @@ Mobile applications require additional metadata in order to manage security and {sgw-t} stores this information using {cbs} XATTRs (see {cbs} documentation on {server-data-xattr-fundamentals--xref}). +CAUTION: Bi-directional XDCR is only supported in Sync Gateway 4.0. +For earlier versions, upgrade to 4.0 to use bi-directional XDCR. === Extended Attributes (XATTRs) @@ -138,9 +140,9 @@ SELECT meta().xattrs._sync FROM scope.collection WHERE meta().id = "mydocId" ---- ==== -WARNING: {sgw} maintains the sync metadata internally, and its structure can change at any time. -Applications must not use it for business logic. -The direct use of the {sqlpp} query or modifying the internal sync metadata contents to drive the business logic is unsupported and must not be used in production environments. +WARNING: {sgw} maintains the sync metadata internally, and its structure can change at any time. +Applications must not use it for business logic. +The direct use of the {sqlpp} query or modifying the internal sync metadata contents to drive the business logic is unsupported and must not be used in production environments. The sync metadata includes the `_sync` extended attribute (XATTR) in use case documents and all `_sync:` prefixed documents in Sync Gateway connected Buckets. === Enable Shared Bucket Access From c7c70a29ec42db127282175f746c5e46a27dbf37 Mon Sep 17 00:00:00 2001 From: Fortune Ikechi Date: Thu, 7 Aug 2025 12:29:01 +0100 Subject: [PATCH 2/2] Update sync-with-couchbase-server.adoc --- modules/ROOT/pages/sync/sync-with-couchbase-server.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/sync/sync-with-couchbase-server.adoc b/modules/ROOT/pages/sync/sync-with-couchbase-server.adoc index ad4d58d5f..080e94613 100644 --- a/modules/ROOT/pages/sync/sync-with-couchbase-server.adoc +++ b/modules/ROOT/pages/sync/sync-with-couchbase-server.adoc @@ -140,7 +140,7 @@ SELECT meta().xattrs._sync FROM scope.collection WHERE meta().id = "mydocId" ---- ==== -WARNING: {sgw} maintains the sync metadata internally, and its structure can change at any time. +WARNING: {sgw-t} maintains the sync metadata internally, and its structure can change at any time. Applications must not use it for business logic. The direct use of the {sqlpp} query or modifying the internal sync metadata contents to drive the business logic is unsupported and must not be used in production environments. The sync metadata includes the `_sync` extended attribute (XATTR) in use case documents and all `_sync:` prefixed documents in Sync Gateway connected Buckets.