Hi
We tried yesterday to create a new index on one of our buckets to use N1QL.
Cluster and server info:
1 cluster
3 servers (Physical)
2 buckets (1 high prio and 1 low prio)
OS: Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) x86_64 GNU/Linux
couchbase v4.0.0-4051 Community Edition (build-4051)
451GB Memory (177GB used)
On all 3 servers are following services enabled: Data,Index and Query
we used following statement:
CREATE PRIMARY INDEX bucket_high-index
ON bucket_high
USING GSI;
in /opt/couchbase/bin/cbq
The issue we now have is that the index is in status created with initial progress 0% since yesterday. But we don’t see this index if we run select * from system:indexes
Additionally we tried to run the create command multiple times with the options defer_build: true and always get now timeouts after 2 minutes.
One log entry:
/opt/couchbase/var/lib/couchbase/logs/query.log:12154:2015-11-10T10:14:09.232Z+01:00 [Info] CreateIndex 9879947322840320459 bucket_high/bucket_high-index using:forestdb exprType:N1QL partnExpr: whereExpr: secExprs:[] isPrimary:true with:[123 34 100 101 102 101 114 95 98 117 105 108 100 34 58 116 114 117 101 44 34 110 111 100 101 120 34 58 34 97 100 119 99 98 48 51 46 97 100 119 101 98 115 116 101 114 46 99 111 109 34 125] - elapsed(2m0.675478241s) err(Request Timeout)
another log entry:
/opt/couchbase/var/lib/couchbase/logs/query.log:12308:2015-11-10T10:27:40.232Z+01:00 [Info] CreateIndex 3641916042920834401 bucket_high/bucket_high-index using:forestdb exprType:N1QL partnExpr: whereExpr: secExprs:[] isPrimary:true with:[] - elapsed(2m0.825863341s) err(Request Timeout)
If you need more information just ask.