Details
Description
go_cbq> \CONNECT http://127.0.0.1:9000;
Couchbase query shell connected to http://127.0.0.1:9000 . Type Ctrl-D / \exit / \quit to exit.
|
go_cbq> select * from system:keyspaces;
|
Error in sql Ping
|
ERROR 5000 : N1QL: Failed to execute query {"caller":"clustering_cb:323","code":2080,"key":"admin.clustering.no_such_node","message":"No such node "}
|
However when I failover one node and then rerun the above query :
go_cbq> select * from system:keyspaces;
|
|
{
|
"requestID": "5353bd43-1313-4f7c-9c6d-2c3e21380597",
|
"signature": [*],
|
"results" : [
|
{
|
"keyspaces": {
|
"datastore_id": "http://127.0.0.1:9000",
|
"id": "b1",
|
"name": "b1",
|
"namespace_id": "default"
|
}
|
},
|
{
|
"keyspaces": {
|
"datastore_id": "http://127.0.0.1:9000",
|
"id": "b2",
|
"name": "b2",
|
"namespace_id": "default"
|
}
|
},
|
{
|
"keyspaces": {
|
"datastore_id": "http://127.0.0.1:9000",
|
"id": "beer-sample",
|
"name": "beer-sample",
|
"namespace_id": "default"
|
}
|
},
|
{
|
"keyspaces": {
|
"datastore_id": "http://127.0.0.1:9000",
|
"id": "default",
|
"name": "default",
|
"namespace_id": "default"
|
}
|
}
|
],
|
|
"status": success,
|
"metrics": {
|
"elapsedTime": "132.973871ms",
|
"executionTime": "132.954073ms",
|
"resultCount": 4,
|
"resultSize": 864
|
}
|
}
|
|
go_cbq>
|
Attachments
For Gerrit Dashboard: MB-16956 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
57689,2 | MB-16956. If hostname is an empty in the node services config then assume 127.0.0.1 | master | query | Status: MERGED | +2 | +1 |