CB version: 4.5.1
number of documents = 170
single node
Simplest Query:
SELECT * FROM pamain
Index
CREATE PRIMARY INDEX #primary
ON pamain
Log from: /opt/couchbase/var/lib/couchbase/logs/query.log
2017-11-03T02:44:48.528+04:00 [Info] connected with 1 indexers
2017-11-03T02:44:48.528+04:00 [Info] index 1466350299188775374 has 1 replicas
2017-11-03T02:44:48.528+04:00 [Info] GSIC[default/pamain-1509634068408973674] logstats "pamain" {"gsi_scan_count":2327,"gsi_scan_duration":3834683307,"gsi_throttle_duration":930448,"gsi_prime_duration":3590226708,"gsi_blocked_duration":0,"gsi_totalbackfills":0}
2017-11-03T02:44:48.528+04:00 [Info] index 14822891103662477751 has 1 replicas
2017-11-03T02:44:48.528+04:00 [Info] client load stats {"14822891103662477751": 1.6967825544616883e+06,"1466350299188775374": 1.4706997550482107e+06}
2017-11-03T02:44:48.528+04:00 [Info] connected with 1 indexers
2017-11-03T02:44:48.528+04:00 [Info] index 1466350299188775374 has 1 replicas
2017-11-03T02:44:48.528+04:00 [Info] GSIC[default/pamain-1509634068408973674] logstats "pamain" {"gsi_scan_count":2327,"gsi_scan_duration":3834683307,"gsi_throttle_duration":930448,"gsi_prime_duration":3590226708,"gsi_blocked_duration":0,"gsi_totalbackfills":0}
2017-11-03T02:44:48.528+04:00 [Info] index 14822891103662477751 has 1 replicas
2017-11-03T02:44:48.528+04:00 [Info] client load stats {"14822891103662477751": 1.6967825544616883e+06,"1466350299188775374": 1.4706997550482107e+06}
2017-11-03T02:45:48.528+04:00 [Info] connected with 1 indexers
2017-11-03T02:45:48.528+04:00 [Info] GSIC[default/pamain-1509634068408973674] logstats "pamain" {"gsi_scan_count":2328,"gsi_scan_duration":3836150025,"gsi_throttle_duration":930448,"gsi_prime_duration":3591640962,"gsi_blocked_duration":0,"gsi_totalbackfills":0}
2017-11-03T02:45:48.528+04:00 [Info] index 1466350299188775374 has 1 replicas
2017-11-03T02:45:48.528+04:00 [Info] index 14822891103662477751 has 1 replicas
2017-11-03T02:45:48.528+04:00 [Info] client load stats {"14822891103662477751": 1.6967825544616883e+06,"1466350299188775374": 1.4381548775241054e+06}
2017-11-03T02:46:48.528+04:00 [Info] connected with 1 indexers
2017-11-03T02:46:48.528+04:00 [Info] index 1466350299188775374 has 1 replicas
2017-11-03T02:46:48.528+04:00 [Info] index 14822891103662477751 has 1 replicas
2017-11-03T02:46:48.528+04:00 [Info] client load stats {"14822891103662477751": 1.6967825544616883e+06,"1466350299188775374": 1.4660464387620527e+06}
2017-11-03T02:46:48.528+04:00 [Info] GSIC[default/pamain-1509634068408973674] logstats "pamain" {"gsi_scan_count":2329,"gsi_scan_duration":3837703021,"gsi_throttle_duration":930448,"gsi_prime_duration":3593124106,"gsi_blocked_duration":0,"gsi_totalbackfills":0}
_time=2017-11-03T02:46:54.057+04:00 _level=ERROR _msg=PrimaryScan.newIndexConnection error=System datastore error - cause: This bucket type is not supported memcached
_time=2017-11-03T02:46:54.181+04:00 _level=ERROR _msg=PrimaryScan.newIndexConnection error=System datastore error - cause: This bucket type is not supported memcached
_time=2017-11-03T02:46:54.228+04:00 _level=ERROR _msg=PrimaryScan.newIndexConnection error=System datastore error - cause: This bucket type is not supported memcached
_time=2017-11-03T02:46:57.429+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.431+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.433+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.433+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.433+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.433+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.441+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.441+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.441+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.441+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.441+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.444+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.444+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.446+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.446+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.446+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.446+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.446+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.446+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.446+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.446+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.446+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.446+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.446+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.448+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.448+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.455+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.455+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.455+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.455+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.456+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.456+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.459+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.459+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.459+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.459+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.459+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.459+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.467+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
_time=2017-11-03T02:46:57.467+04:00 _level=WARN _msg=Finalizing a bucket with active connections.
2017-11-03T02:47:48.528+04:00 [Info] connected with 1 indexers
2017-11-03T02:47:48.528+04:00 [Info] index 1466350299188775374 has 1 replicas
2017-11-03T02:47:48.528+04:00 [Info] index 14822891103662477751 has 1 replicas
2017-11-03T02:47:48.528+04:00 [Info] client load stats {"14822891103662477751": 1.6967825544616883e+06,"1466350299188775374": 1.4660464387620527e+06}
2017-11-03T02:48:48.528+04:00 [Info] connected with 1 indexers
2017-11-03T02:48:48.528+04:00 [Info] index 1466350299188775374 has 1 replicas
2017-11-03T02:48:48.528+04:00 [Info] GSIC[default/pamain-1509634068408973674] logstats "pamain" {"gsi_scan_count":2330,"gsi_scan_duration":3839216369,"gsi_throttle_duration":930448,"gsi_prime_duration":3594589996,"gsi_blocked_duration":0,"gsi_totalbackfills":0}
2017-11-03T02:48:48.528+04:00 [Info] index 14822891103662477751 has 1 replicas
2017-11-03T02:48:48.528+04:00 [Info] client load stats {"14822891103662477751": 1.6967825544616883e+06,"1466350299188775374": 1.4613242193810265e+06}
Im not sure if this log is related to my query
If I execute this query using Web UI I gate Gateway Timeout error:
{
"status": "Gateway Timeout",
"status_detail": "The query workbench only supports queries running for 300 seconds. Use cbq from the command-line for longer running queries. Certain DML queries, such as index creation, will continue in the background despite the user interface timeout."
}
and when I run the query with cbq it never finishes.
Why is System datastore error caused?
“System datastore error” is not caught by Web UI, CLI or RXJava client.