Elasticserach stuck

Elasticsearch after restart it.
I ran curl -u admin_elasticsearch -X DELETE https://elasticsearch.bitbucket.com/bitbucket-search

then I rebuilt it

curl -u rxv112 -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' https://bitbucket.com/rest/indexing/latest/sync

But I restarted because it was not working and after that it gets stuck when I start it up, the logs doesn’t show error, only says

[2020-10-29T17:13:15,951][INFO ][o.e.t.TransportService ] [dbbp1lc9a017] publish_address {127.0.0.1:8080}, bound_addresses {127.0.0.1:8080}
[2020-10-29T17:13:19,032][INFO ][o.e.c.s.ClusterService ] [dbbp1lc9a017] new_master {dbbp1lc9a017}{RkfUBapESeOAwplcyI_e9A}{E2zJ_xWVT_mhSGfcdqGdYg}{localhost}{127.0.0.1:8080}, reason: zen-disco-elected-as-master ([0] nodes joined)
[2020-10-29T17:13:19,077][INFO ][o.e.h.n.Netty4HttpServerTransport] [dbbp1lc9a017] publish_address {10.25.27.193:8085}, bound_addresses {0.0.0.0:8085}
[2020-10-29T17:13:19,078][INFO ][o.e.n.Node ] [dbbp1lc9a017] started
[2020-10-29T17:13:19,136][INFO ][o.e.g.GatewayService ] [dbbp1lc9a017] recovered [0] indices into cluster_state

What version are you on?

Usually when it gets to that point it means that Elasticsearch is ready to serve requests.

I have found the problem, the issue was caused by its index.

Thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.