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]
|