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

Sync Gateway 2.8.1: DCP feed connections now support connstr ?network=auto/default/external option

    XMLWordPrintable

Details

    Description

      Hi Docs,

       

      In SG 2.8.1, we improved the handling for a network override specified via the connection string to allow customers to override the automatic "external alternate address" heuristic (CBG-584)

       

      This option is already implemented in SDKs for KV and Query operations from Sync Gateway, but was not used for DCP connections, which meant in some network configurations, customers may be running their DCP connections over an unexpected network interface (see linked CBSE for more detail).

       

      The network option can be configured in the server connection string as a query parameter, like so:

      "server": "couchbases://my-cbs-server?network=external"
      

       

      The default value for this, if not specified is "auto", which uses the same automatic heuristic prior to 2.8.1 - which is based on the host specified in the server option.
      The option can be set to "external" to explicitly force the DCP connections to use the configured external alternate address,
      Or "default", to force the use of the default internal networking.

      Attachments

        Issue Links

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

          Activity

            People

              Ian.bridge Ian Bridge
              ben.brooks Ben Brooks
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty