Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
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.