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

Server Compatibility -- Transactions

    XMLWordPrintable

Details

    Description

      Describe any compatibility issues between Sync Gateway and CB server

      1. No end to end transactions.  
      2. Changes made via SDK in a transaction are not guaranteed to be in a Tx when they arrive at CBL
      3. Changes made on CBL within a transaction(inBatch API) will not be propagated as a Tx to server
      4. Writes coming in from non transaction aware clients such as SGW do not play well with transaction
      5. Using transactions in a read only cluster is not an issue . But if using within a mobile RW cluster, then you have to cautious about changes coming from from SGW to documents that are in fight a Tx

       

      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

        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-transactions.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-transactions.html  
          adamf Adam Fraser added a comment -

          Ian Bridge I'm getting 'page not found' for the staged link - should it still be valid?

          adamf Adam Fraser added a comment - Ian Bridge  I'm getting 'page not found' for the staged link - should it still be valid?
          Ian.bridge Ian Bridge added a comment -

          Sorry Adam Fraser, it ought to have been and will be again shortly. Just rebuilding now. Ditto for the Eventing page DOC-8390

          Ian.bridge Ian Bridge added a comment - Sorry Adam Fraser , it ought to have been and will be again shortly. Just rebuilding now. Ditto for the Eventing page DOC-8390 . 
          Ian.bridge Ian Bridge added a comment - Adam Fraser Last call – will publish this at close of business Friday https://ibsoln.github.io/stage/stage282/sync-gateway/2.8/server-compatibility-transactions.html  
          adamf Adam Fraser added a comment -

          The staged version was no longer available, but I've posted comments on https://github.com/couchbase/docs-sync-gateway/pull/493/files.

          adamf Adam Fraser added a comment - The staged version was no longer available, but I've posted comments on https://github.com/couchbase/docs-sync-gateway/pull/493/files .
          Ian.bridge Ian Bridge added a comment -

          Thanks Adam Fraser

          No published with feedback suggestions in place.

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

          Commit: dee53b5

          Also ported to 3.0

          Ian.bridge Ian Bridge added a comment - Thanks Adam Fraser No published with feedback suggestions in place. PR: https://github.com/couchbase/docs-sync-gateway/pull/493   Commit:  dee53b5 Also ported to 3.0

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty