Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-44635

[CX] remote link actions can intermittently fail on concurrent modification to active host name

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • No
    • CX Sprint 238

    Description

      If a remote cluster topology change is processed concurrently with some http request,  it can result in an internal error due to an assumption that the change was processed due to an exception, as opposed to an asynchronous update.  This has been observed intermittently on Jenkins.

      2021-02-28T09:12:26.870-08:00 WARN CBAS.lang.ConnectLinkStatement [QueryTranslator:bd768b65-6fa2-4bfb-a570-11c4d3f3f09e] Failed to connect bucket { "class" : "Bucket", "dataverse" : "Default", "link" : "externalcb", "bucket" : "beer-sample", "uuid" : "a6dd8729a129b5712bffd8c7f67a21fa", "running" : false } java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 at jdk.internal.util.Preconditions.outOfBounds(Unknown Source) ~[?:?] at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Unknown Source) ~[?:?] at jdk.internal.util.Preconditions.checkIndex(Unknown Source) ~[?:?] at java.util.Objects.checkIndex(Unknown Source) ~[?:?] at java.util.ArrayList.get(Unknown Source) ~[?:?] at com.couchbase.analytics.auth.CbRemoteLinkHelper.remoteClusterExecution(CbRemoteLinkHelper.java:285) ~[cbas-server.jar:7.0.0-0000]
      

      Attachments

        Issue Links

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

          Activity

            People

              michael.blow Michael Blow
              michael.blow Michael Blow
              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