Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
6.6.1
-
Couchbase server build 6.6.1-9143
-
Untriaged
-
Centos 64-bit
-
1
-
Unknown
-
CX Sprint 222, CX Sprint 223
Description
Steps to reproduce -
1. Setup 2 clusters, 1 analytics cluster and 1 remote data cluster.
2. Setup certificates on remote data cluster.
3. Load travel-sample bucket on remote data cluster.
4. Create remote link on analytics cluster to remote cluster with encryption set to full. (create a link using both (username, password and root cert) and (root cert, client cert and client key))
5. Connect the links created above.
6. Internal error is raised.
In newcerts88C2.zip -
root cert - > root.crt
client cert -> long_chain172.16.1.174.pem
client key -> 172.16.1.174.key
2020-10-26T11:34:42.484+00:00 WARN CBAS.server.QueryServiceServlet [HttpExecutor(port:8095)-13] handleException: unexpected exception CBAS0029: Connect link failed {"Default.r5.travel-sample" : "Internal error"}: <ud>{"host":"10.112.205.102:8091","path":"/query/service","statement":"connect link r5;","pretty":false,"mode":"immediate","clientContextID":"f7939918-9732-4347-97d0-df13a35c7c05","format":"CLEAN_JSON","timeout":9223372036854775807,"maxResultReads":1,"planFormat":"JSON","expressionTree":false,"rewrittenExpressionTree":false,"logicalPlan":false,"optimizedLogicalPlan":true,"job":false,"profile":"counts","signature":true,"multiStatement":false,"parseOnly":false,"readOnly":false,"maxWarnings":10,"scanConsistency":"not_bounded","scanWait":null}</ud> |
com.couchbase.analytics.common.exceptions.AnalyticsHyracksException: CBAS0029: Connect link failed {"Default.r5.travel-sample" : "Internal error"} |
at com.couchbase.analytics.lang.ConnectLinkStatement.doHandle(ConnectLinkStatement.java:371) ~[cbas-connector.jar:6.6.1-9143] |
at com.couchbase.analytics.lang.ConnectionStatement.handle(ConnectionStatement.java:65) ~[cbas-connector.jar:6.6.1-9143] |
at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:430) ~[asterix-app.jar:6.6.1-9143] |
at org.apache.asterix.app.message.ExecuteStatementRequestMessage.handle(ExecuteStatementRequestMessage.java:155) ~[asterix-app.jar:6.6.1-9143] |
at org.apache.asterix.messaging.CCMessageBroker.receivedMessage(CCMessageBroker.java:64) ~[asterix-app.jar:6.6.1-9143] |
at org.apache.hyracks.control.cc.work.ApplicationMessageWork.lambda$notifyMessageBroker$0(ApplicationMessageWork.java:68) ~[hyracks-control-cc.jar:6.6.1-9143] |
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
|
at java.lang.Thread.run(Unknown Source) [?:?]
|
|
Attachments
Issue Links
- relates to
-
MB-42037 Internal error is raised while reconnecting remote link if remote server is shutdown
-
- Closed
-
For Gerrit Dashboard: MB-42277 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
138996,3 | MB-42277: Properly handle remote link certificate failures | mad-hatter | cbas-core | Status: MERGED | +2 | +1 |