Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.0.0
-
Security Level: Public
-
None
-
Untriaged
-
Centos 64-bit
-
-
No
Description
Setup cluster of cb server as following:
a) Node1 - KV - .182
b) Node2 - Indexer - .183
c) Node3 - n1ql - .184
1. Create default bucket and load 5000 documents
2. Create primary index and a secondary index.
– Check via UI and query to system:indexes
3. Create another bucket default1 and load 5000 documents
4. Try and create primary index on default1, in parallel kill the indexer process on the indexer node.
Do step 4 multiple times. You will see a trace as following.
5. Now via UI check the index tab, the index tab will be empty.
6. Restart CB server on indexer node and check for index tab. Index tab is still empty.
Expected Results:
Index tab should show all index created for default bucket.
Actual Result:
Index tab shows nothing.
Time to co-relate in logs - Sat May 23 05:44:08 2015 - Sat May 23 06:20:00 2015
---Error while creating index on default1 bucket.
cbq> create primary index on default1 using gsi;
{
"requestID": "45b04cd5-6807-4b50-bf09-553e905fab5c",
"signature": null,
"results": [
],
"errors": [
],
"status": "errors",
"metrics":
}
cbq> create primary index on default1 using gsi;
{
"requestID": "85524e9b-378f-4018-9ded-adfbcf9c3c03",
"signature": null,
"results": [
],
"errors": [
],
"status": "errors",
"metrics":
}
-----------------------------------------
Output of the query command which shows indexes for bucket default:
cbq> select * from system:indexes;
{
"requestID": "bcd9b6c1-5316-4e87-8611-fdedaae08b54",
"signature":
,
"results": [
{
"indexes":
},
{
"indexes":
},
{
"indexes":
}
],
"status": "success",
"metrics":
}
Attachments
For Gerrit Dashboard: MB-15121 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
51566,2 | MB-15121: shutdown when stale feeds are collected. | unstable | indexing | Status: MERGED | +2 | +1 |