I was trying to create a primary index using query:
CREATE PRIMARY INDEX ON qa_new_data.raw.user_asset
But it resulted in error as follows:
[
{
“code”: 5000,
“msg”: “GSI CreatePrimaryIndex() - cause: Index creation for index #primary, bucket qa_new_data, scope raw, collection user_asset cannot start. Reason: Fails to create index. There are not enough indexer nodes to create index with replica count of 1. Some indexer nodes may be marked as excluded…”,
“query”: “CREATE PRIMARY INDEX ON qa_new_data.raw.user_asset”
}
]
notes " Note that whenever a given number of index-replicas is specified for creation, the number must be less than the number of cluster-nodes currently running the Index Service."