Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 5 additions & 3 deletions modules/ROOT/pages/sync/sync-with-couchbase-server.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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-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.

=== Enable Shared Bucket Access
Expand Down