Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-695

Alternate addresses are always used if defined instead of applying heuristic

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0
    • Component/s: SyncGateway
    • Security Level: Public
    • Labels:
      None
    • Sprint:
      CBG Sprint 42
    • Story Points:
      3

      Description

      Similar to MB-37626, we need to be a bit more intelligent in when we use the alternate addresses configured on the cluster.

      If a remote cluster has an external address set, then when SG connects it will always use the external address.

      This is in contrast to the SDKs where they select which address (default vs external) based on the node that you initially connect to.

      SG should behave in the same way, as there's no guarantee that SG can access the external hostname ports, even if they are set for other clients to access.
      If you specify the Couchbase Server cluster with the external hostname (i.e. it's present in the external address section of the node info), then it should use the external address, otherwise it should use the default address/ports.

        Attachments

          Issue Links

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

            Activity

            Hide
            James Flather James Flather added a comment -

            Reopening, as it looks like the docs change has triggered the automation to resolve.

            Show
            James Flather James Flather added a comment - Reopening, as it looks like the docs change has triggered the automation to resolve.
            Hide
            build-team Couchbase Build Team added a comment -

            Build sync_gateway-2.8.0-112 contains sync_gateway commit 3206f68 with commit message:
            CBG-695 - Support external alternate address heuristic (#4506)

            Show
            build-team Couchbase Build Team added a comment - Build sync_gateway-2.8.0-112 contains sync_gateway commit 3206f68 with commit message: CBG-695 - Support external alternate address heuristic (#4506)
            Hide
            build-team Couchbase Build Team added a comment -

            Build sync_gateway-2.7.1-5 contains sync_gateway commit a08bf70 with commit message:
            CBG-730 - Backport CBG-695 to 2.7.1 (#4507)

            Show
            build-team Couchbase Build Team added a comment - Build sync_gateway-2.7.1-5 contains sync_gateway commit a08bf70 with commit message: CBG-730 - Backport CBG-695 to 2.7.1 (#4507)

              People

              Assignee:
              ben.brooks Ben Brooks
              Reporter:
              ben.brooks Ben Brooks
              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