Skip to content

Commit e418b5b

Browse files
authored
1 parent e93f2f9 commit e418b5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/ROOT/pages/server-compatibility-eventing.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ This is necessary because:
4545
But when an update originates outside of Couchbase mobile then multiple mutations are generated.
4646
That is because Sync Gateway must update both the document's body and its _sync metadata (XATTRs).
4747

48-
* _Eventing_ detects these mutations and invokes its `OnUpdate` *for each*; whether it is for the modified body of the document, XATTRs, or both.
48+
* _Eventing_ detects these mutations and invokes its `OnUpdate` *for each*; whether it is for the modified body of the document, Sync Gateway metadata, or both.
4949
It is here that you need to code the function to apply the same update once only.
50-
One way to do this is to use the crc64 function call -- see: {server-eventing-constructs-crc64--xref} for more on how to do this.
50+
One way to do this is to use the crc64 function call to identify when an update is to the Sync Gateway metadata only -- see: {server-eventing-constructs-crc64--xref} for more on how to do this.
5151

5252
_Eventing_ prevents inadvertent use of its functions on _Sync Gateway_ read-write buckets.
5353
You will see the following warning if you try to do this: +

0 commit comments

Comments
 (0)