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 created issue -
            Ian.bridge Ian Bridge made changes -
            Field Original Value New Value
            Link This issue Clones DOC-8389 [ DOC-8389 ]
            Ian.bridge Ian Bridge made changes -
            Description Describe any compatibility issues between Sync Gateway and CB server
             # XDCR (refer to PRD for the painpoints)
             # Won’t work between two mobilke clusters. You have to have unidirectional XDCR with 1 read only cluster.  Direct to ISGR
             # Add link to DR/Migration with XDCR- refer to link. Can’t use for active standup. Decide if you want to move whats in the ISGR doc or copy

             

             

             

            Background

            Our current [documentation|https://docs.couchbase.com/sync-gateway/2.1/running-replications.html] 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 [~adamf] which elaborates on the various cases and recommendations . 

             (CC [~amarantha.kulkarni])
            Describe any compatibility issues between Sync Gateway and CB server
             # Eventing service when used with sync gateway cannot be associated with a read-write bucket 
             # Eventing service cannot read or write to same bucket when used with Sync Gateway
             #  https://issues.couchbase.com/browse/DOC-6739 reopen

             

             

            Background

            Our current [documentation|https://docs.couchbase.com/sync-gateway/2.1/running-replications.html] 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 [~adamf] which elaborates on the various cases and recommendations . 

             (CC [~amarantha.kulkarni])
            Ian.bridge Ian Bridge made changes -
            Link This issue relates to DOC-6739 [ DOC-6739 ]
            Ian.bridge Ian Bridge made changes -
            Link This issue is cloned by DOC-8391 [ DOC-8391 ]
            Ian.bridge Ian Bridge made changes -
            Labels mobile mobsprintmd09 mobile mobsprintmd09 mobsprintthis
            Ian.bridge Ian Bridge made changes -
            Link This issue is cloned by DOC-8391 [ DOC-8391 ]
            Ian.bridge Ian Bridge made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Ian.bridge Ian Bridge made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            Ian.bridge Ian Bridge made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Ian.bridge Ian Bridge made changes -
            Status In Progress [ 3 ] In Review [ 10107 ]
            Ian.bridge Ian Bridge made changes -
            Labels mobile mobsprintmd09 mobsprintthis mobile mobsprintmd09 mobsprintthis needs-review
            Ian.bridge Ian Bridge made changes -
            Due Date 09/Apr/21 16/Apr/21
            Ian.bridge Ian Bridge made changes -
            Labels mobile mobsprintmd09 mobsprintthis needs-review mobile mobsprintdone mobsprintmd09 mobsprintthis needs-review
            Ian.bridge Ian Bridge made changes -
            Labels mobile mobsprintdone mobsprintmd09 mobsprintthis needs-review mobile mobsprintdone mobsprintmd09 needs-review
            Ian.bridge Ian Bridge made changes -
            Link This issue Clones DOC-8389 [ DOC-8389 ]
            Ian.bridge Ian Bridge made changes -
            Labels mobile mobsprintdone mobsprintmd09 needs-review mobile mobsprintmd09 mobsprintmd10 needs-review
            Ian.bridge Ian Bridge made changes -
            Assignee Ian Bridge [ ian.bridge ] Adam Fraser [ adamf ]
            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 made changes -
            Status In Review [ 10107 ] In Progress [ 3 ]
            Ian.bridge Ian Bridge made changes -
            Status In Progress [ 3 ] In Review [ 10107 ]
            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
            Ian.bridge Ian Bridge made changes -
            Labels mobile mobsprintmd09 mobsprintmd10 needs-review mobile mobsprintdone mobsprintmd09 mobsprintmd10 needs-review
            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)
            adamf Adam Fraser made changes -
            Assignee Adam Fraser [ adamf ] Ian Bridge [ ian.bridge ]
            Ian.bridge Ian Bridge made changes -
            Labels mobile mobsprintdone mobsprintmd09 mobsprintmd10 needs-review mobile mobsprintdone mobsprintmd09 mobsprintmd10 mobsprintmd11
            Ian.bridge Ian Bridge made changes -
            Fix Version/s Mobile 3.0 [ 17243 ]
            Ian.bridge Ian Bridge made changes -
            Status In Review [ 10107 ] In Progress [ 3 ]
            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
            Ian.bridge Ian Bridge made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]

            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