Before i face this error an index was created using below command:
CREATE INDEX ixAccountGroup
ON master_erp
(serial
ASC, status
, cid
, META().id) WHERE (type=“account_group”) WITH {“defer_build”:true};
After that i execute the following command on query:
BUILD INDEX ON master_erp
(ixAccountGroup
) USING GSI;
since i click on execute on Query section i am getting out of connection/site can’t be reach:
Manually i collect the below logs from: /opt/couchbase/var/lib/couchbase/logs/indexer.log
2020-10-20T01:18:54.742+00:00 [Info] Error occured during cluster info update (CBAuth database is stale: last reason: dial tcp 127.0.0.1:8091: getsockopt: connection refused) … Retrying(55)
2020-10-20T01:18:54.754+00:00 [Info] ServiceMgr::listenMoveIndex metakv err Get http://127.0.0.1:8091/_metakv/indexing/rebalance/?feed=continuous: CBAuth database is stale: last reason: dial tcp 127.0.0.1:8091: getsockopt: connection refused. Retrying…
2020-10-20T01:18:54.779+00:00 [Info] Indexer::ReadMemstats Time Taken 354.842µs
2020-10-20T01:18:54.812+00:00 [Error] Unable to connect with bucket “master_erp”
2020-10-20T01:18:53.033+00:00 [Error] ClusterInfoClient ClusterAuthUrl(): CBAuth database is stale: last reason: dial tcp 127.0.0.1:8091: getsockopt: connection refused
2020-10-20T01:18:54.871+00:00 [Error] Indexer::monitorKVNodes, error observed while retrieving ClusterAuthUrl, err : CBAuth database is stale: last reason: dial tcp 127.0.0.1:8091: getsockopt: connection refused
2020-10-20T01:18:54.871+00:00 [Warn] Indexer::getCurrentKVTs error=CBAuth database is stale: last reason: dial tcp 127.0.0.1:8091: getsockopt: connection refused Retrying (1)
2020-10-20T01:18:54.871+00:00 [Error] Unable to connect with bucket “master_erp”
what should i do now? why this happen?