I'm trying to create an index on a couchbase analytics node:
CREATE INDEX `index_analytics_user_id`
ON `requests`(userId:string)
When I run this on a couchbase I have running locally it works fine. However when I run it on the larger scale development environment (with multiple data and index nodes and a separate analytics node) I get an error. Locally I run Couchbase 6.5.0. and the development environment runs Couchbase 6.0.2:
[
{
"code": 24001,
"msg": "Compilation error: Dataset Default.requests is currently being fed into by the following active entities.\nDefault.Local.data(CouchbaseMetadataExtension)\n (in line 1, at column 1)",
"query_from_user": "CREATE INDEX `index_analytics_user_id` \nON `requests`(userId:string)"
}
]
How do I fix this? thanks!