Details
-
Bug
-
Resolution: Won't Fix
-
Test Blocker
-
4.0.0
-
Security Level: Public
-
4 Data nodes: 172.23.100.17-20, 1 Query node 172.23.100.21, 1 index node 172.23.100.22.
cbq-engine started on node .21 as /opt/couchbase/bin/cbq-engine --datastore=http://127.0.0.1:8091 --http=:8093 --configstore=http://127.0.0.1:8091
-
Untriaged
-
Centos 64-bit
-
Unknown
Description
cpq run on client machine 172.23.100.28.
cbq -engine=http://172.23.100.21:8093
cbq> select * from system:indexes;
{
"requestID": "9e7aa7bf-70d4-4faa-ac19-dada5c63b7ec",
"signature":
,
"results": [
],
"errors": [
{
"code": 11000,
"msg": "System datastore error - cause: Failed to load indexes for keyspace bucket-1 - cause: HTTP error 400 Bad Request getting \"http://127.0.0.1:8091/pools/default/buckets/bucket-1/ddocs\":
"
}
],
"status": "errors",
"metrics":
}
you will see that it reports a system error failiing to access meta data on 127.0.0.1:8091. the metadata is on 172.23.100.17-20.
if i stop this automatically started cpq-engine (created by adding a node with service Query only thru console)
and restart it with cbq-engine -datastore=http://172.23.100.17, the above issue retrieving system:indexes went away.
Attachments
Issue Links
- relates to
-
MB-13624 While 'CREATE PRIMARY INDEX' is executing, 'SELECT * from system:indexes" fails with Panic: runtime error"
- Closed
For Gerrit Dashboard: MB-13567 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
47382,2 | Use functions GetDDocsWithRetry and GetDDocWithRetry These functions will try and fetch the list of ddocs from all available couchbase nodes. Workaround for MB-13567 Correspinding go-couchbase commit, see : https://github.com/couchbaselabs/go-couchbase/commit/0632c5345de56b2b79d7b45437f665a77c82ba09 Change-Id: I9ba3a97abfcd665fa8c6b4f54549ee58c072a1b9 Reviewed-on: http://review.couchbase.org/47382 Reviewed-by: Manik Taneja <manik@couchbase.com> Tested-by: Manik Taneja <manik@couchbase.com> | master | query | Status: MERGED | +2 | +1 |
48045,4 | MB-13567 Make design documents available on non-kv nodes. | master | ns_server | Status: MERGED | +2 | +1 |
48077,5 | MB-13567 Use special vbucket map for view queries. | master | ns_server | Status: ABANDONED | 0 | +1 |
48078,2 | MB-13567 Introduce master_only set_view_spec-s. | master | couchdb | Status: ABANDONED | +1 | +1 |