Here is the explain:
[
{
"plan": {
"#operator": "Sequence",
"~children": [
{
"#operator": "PrimaryScan",
"index": "silver-spoon",
"keyspace": "silver-spoon",
"namespace": "default",
"using": "gsi"
},
{
"#operator": "Fetch",
"keyspace": "silver-spoon",
"namespace": "default"
},
{
"#operator": "Parallel",
"~child": {
"#operator": "Sequence",
"~children": [
{
"#operator": "Filter",
"condition": "((`silver-spoon`.`subscriptionFeature`) is not null)"
},
{
"#operator": "InitialProject",
"result_terms": [
{
"expr": "(`silver-spoon`.`subscriptionFeature`)"
}
]
},
{
"#operator": "FinalProject"
}
]
}
}
]
},
"text": "select subscriptionFeature from `silver-spoon` where subscriptionFeature is not null"
}
]
Here is the whole of data:
[
{
"silver-spoon": 12
},
{
"silver-spoon": {
"history": {
"action": "CREATE",
"data": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string",
"featureDescription": "string",
"featureName": "string"
}
},
"roles": [
"DEVELOPER"
],
"time": "Mar 19, 2017 1:25:51 AM",
"type": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity",
"user": "Abhideep"
}
}
},
{
"silver-spoon": {
"history": {
"action": "CREATE",
"data": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string9",
"featureDescription": "string",
"featureName": "string"
}
},
"roles": [
"DEVELOPER"
],
"time": "Mar 28, 2017 1:52:01 AM",
"type": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity",
"user": "Abhideep"
}
}
},
{
"silver-spoon": {
"history": {
"action": "CREATE",
"data": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "stringt",
"featureDescription": "string",
"featureName": "string"
}
},
"roles": [
"DEVELOPER"
],
"time": "Mar 28, 2017 2:07:51 AM",
"type": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity",
"user": "Abhideep"
}
}
},
{
"silver-spoon": {
"history": {
"action": "CREATE",
"data": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "stringm",
"featureDescription": "string",
"featureName": "string",
"id": "16"
}
},
"roles": [
"DEVELOPER"
],
"time": "Mar 28, 2017 2:23:43 AM",
"type": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity",
"user": "Abhideep"
}
}
},
{
"silver-spoon": {
"history": {
"action": "DELETE",
"data": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string",
"featureDescription": "string",
"featureName": "string"
}
},
"roles": [
"DEVELOPER"
],
"time": "Mar 19, 2017 3:36:53 AM",
"type": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity",
"user": "Abhideep"
}
}
},
{
"silver-spoon": {
"history": {
"action": "CREATE",
"data": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string",
"featureDescription": "string",
"featureName": "string"
}
},
"roles": [
"DEVELOPER"
],
"time": "Mar 19, 2017 4:48:24 PM",
"type": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity",
"user": "Abhideep"
}
}
},
{
"silver-spoon": {
"history": {
"action": "CREATE",
"data": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string",
"featureDescription": "string",
"featureName": "string"
}
},
"roles": [
"DEVELOPER"
],
"time": "Mar 19, 2017 6:16:50 PM",
"type": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity",
"user": "Abhideep"
}
}
},
{
"silver-spoon": {
"history": {
"action": "CREATE",
"data": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string3",
"featureDescription": "string",
"featureName": "string"
}
},
"roles": [
"DEVELOPER"
],
"time": "Mar 28, 2017 1:00:27 AM",
"type": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity",
"user": "Abhideep"
}
}
},
{
"silver-spoon": {
"history": {
"action": "CREATE",
"data": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string5",
"featureDescription": "string",
"featureName": "string"
}
},
"roles": [
"DEVELOPER"
],
"time": "Mar 28, 2017 1:24:17 AM",
"type": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity",
"user": "Abhideep"
}
}
},
{
"silver-spoon": {
"history": {
"action": "CREATE",
"data": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string7",
"featureDescription": "string",
"featureName": "string"
}
},
"roles": [
"DEVELOPER"
],
"time": "Mar 28, 2017 1:45:42 AM",
"type": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity",
"user": "Abhideep"
}
}
},
{
"silver-spoon": {
"history": {
"action": "CREATE",
"data": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string8",
"featureDescription": "string",
"featureName": "string"
}
},
"roles": [
"DEVELOPER"
],
"time": "Mar 28, 2017 1:47:57 AM",
"type": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity",
"user": "Abhideep"
}
}
},
{
"silver-spoon": 16
},
{
"silver-spoon": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string3",
"featureDescription": "string",
"featureName": "string"
}
}
},
{
"silver-spoon": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string5",
"featureDescription": "string",
"featureName": "string"
}
}
},
{
"silver-spoon": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string7",
"featureDescription": "string",
"featureName": "string"
}
}
},
{
"silver-spoon": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string8",
"featureDescription": "string",
"featureName": "string"
}
}
},
{
"silver-spoon": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string9",
"featureDescription": "string",
"featureName": "string"
}
}
},
{
"silver-spoon": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "stringt",
"featureDescription": "string",
"featureName": "string"
}
}
},
{
"silver-spoon": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "stringm",
"featureDescription": "string",
"featureName": "string",
"id": "16"
}
}
},
{
"silver-spoon": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string",
"featureDescription": "string",
"featureName": "string"
}
}
},
{
"silver-spoon": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string",
"featureDescription": "string",
"featureName": "string"
}
}
},
{
"silver-spoon": {
"subscriptionFeature": {
"featureCategory": "string",
"featureCode": "string2",
"featureDescription": "string",
"featureName": "string"
}
}
},
{
"silver-spoon": {
"cbLookupDocumentkey": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity-6"
}
},
{
"silver-spoon": {
"cbLookupDocumentkey": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity-9"
}
},
{
"silver-spoon": {
"cbLookupDocumentkey": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity-10"
}
},
{
"silver-spoon": {
"cbLookupDocumentkey": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity-11"
}
},
{
"silver-spoon": {
"cbLookupDocumentkey": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity-12"
}
},
{
"silver-spoon": {
"cbLookupDocumentkey": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity-13"
}
},
{
"silver-spoon": {
"cbLookupDocumentkey": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity-14"
}
},
{
"silver-spoon": {
"cbLookupDocumentkey": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity-16"
}
},
{
"silver-spoon": {
"cbLookupDocumentkey": "com.fastserve.aawp.aawp.cb.entity.SubscriptionFeatureEntity-15"
}
}
]
This inconsistency is similar for all type of select queries. I could not find the way to list the indexes. No, I am not doing any other operations in parallel. I didnt try with any other version. I cant keep changing versions during development phase due to these kind of problems. Couchbase should behave consistent when there is only one node. Is it unfair expectation?
@keshav_m I first realized this when I saw this due to my Java code. So I tried on web console. Both are behaving same.