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

          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