Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-8390

Server Compatibility -- Eventing

    XMLWordPrintable

Details

    Description

      Describe any compatibility issues between Sync Gateway and CB server

      1. Eventing service when used with sync gateway cannot be associated with a read-write bucket 
      2. Eventing service cannot read or write to same bucket when used with Sync Gateway
      3.  https://issues.couchbase.com/browse/DOC-6739 reopen

       

       

      Background

      Our current documentation is not very clear on the deployment recommendations when using XDCR with SGW . We have seen an uptick in number of questions related to this topic. 

      Although we specify one-directional XDCR as the option , we are not clear that SGW in target cluster must be read-only mode. Also, the impact of convergence and enabling import-docs on the both clusters (that would effectively be write) .

      Please refer to this customer escalation . Specifically, read comments from Adam Fraser which elaborates on the various cases and recommendations . 

       (CC Amarantha Kulkarni)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            Ian.bridge Ian Bridge added a comment -

            Ben Brooks / Adam Fraser – about to publish this new content. Can you take a look at it, please?

            It's high-level so very quick to do. Staged here ... https://ibsoln.github.io/stage/stage282/sync-gateway/2.8/server-compatibility-eventing.html

            Ian.bridge Ian Bridge added a comment - Ben Brooks  /  Adam Fraser  – about to publish this new content. Can you take a look at it, please? It's high-level so very quick to do. Staged here ...  https://ibsoln.github.io/stage/stage282/sync-gateway/2.8/server-compatibility-eventing.html
            Ian.bridge Ian Bridge added a comment -

            Last call – will publish this at close of business Friday

            https://ibsoln.github.io/stage/stage282/sync-gateway/2.8/server-compatibility-eventing.html

            Ian.bridge Ian Bridge added a comment - Last call – will publish this at close of business Friday https://ibsoln.github.io/stage/stage282/sync-gateway/2.8/server-compatibility-eventing.html
            adamf Adam Fraser added a comment -

            A few comments on the staged version:

            When Sync Gateway executes a single document update, it appears over DCP as multiple mutations for the same document update; some modifying the document body and others modifying its metadata (XATTRs).

            Sync Gateway only results in multiple mutations when it's importing a server mutation - when an update is made by someone other than Sync Gateway, SG needs to update the document's _sync metadata. (in contrast, updates made directly via SG, such as those replicated from CBL, will only result in a single server mutation, that writes both the document body and the metadata)

            adamf Adam Fraser added a comment - A few comments on the staged version: When Sync Gateway executes a single document update, it appears over DCP as multiple mutations for the same document update; some modifying the document body and others modifying its metadata (XATTRs). Sync Gateway only results in multiple mutations when it's importing a server mutation - when an update is made by someone other than Sync Gateway, SG needs to update the document's _sync metadata. (in contrast, updates made directly via SG, such as those replicated from CBL, will only result in a single server mutation, that writes both the document body and the metadata)
            Ian.bridge Ian Bridge added a comment -

            Thanks Adam Fraser feedback incorporated

            PR: https://github.com/couchbase/docs-sync-gateway/pull/489

            Commit: 0985730

            Ported to 3.0

            Ian.bridge Ian Bridge added a comment - Thanks Adam Fraser  feedback incorporated PR: https://github.com/couchbase/docs-sync-gateway/pull/489 Commit:  0985730 Ported to 3.0

            People

              Ian.bridge Ian Bridge
              Ian.bridge Ian Bridge
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty