I’m unable to create index on my local machine - M1 MBP (macOS 12.5.1) / couchbase
enterprise edition - 7.1.0.
When running the query - CREATE PRIMARY INDEX ON default:test
I receive the following error
"msg": "GSI CreatePrimaryIndex() - cause: Index creation for index #primary, bucket test, scope _default, collection _default cannot start. Reason: Fails to create index. There is no available index service that can process this request at this time. Index Service can be in bootstrap, recovery, or non-reachable. Please retry the operation at a later time..",
"query": "CREATE PRIMARY INDEX ON `default`:`test`;"
I reinstalled couchbase server. Also tried to restart indexer service but it didn’t help.
@Otar I did an initial analysis of the problem. It seems that the index service is unavailable, hence the index creation is erroring out. The reason for the unavailability of the indexing service is because the watcherServer is erroring out. I am looking further into the cause of the error.
Also is this a single node cluster or do you have more nodes in the cluster?