org.elasticsearch.index.shard.IllegalIndexShardStateException: [pelias][0] CurrentState[RECOVERING] operations only allowed when started/relocated

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ktjaco
, 1 year ago
[pelias][0] CurrentState[RECOVERING] operations only allowed when started/relocated
via GitHub by ktjaco
, 1 year ago
[pelias][0] CurrentState[RECOVERING] operations only allowed when started/relocated
via GitHub by brwe
, 2 years ago
[test_5][0] CurrentState[POST_RECOVERY] operations only allowed when started/relocated
via GitHub by smokingwheels
, 1 year ago
[messages][3] CurrentState[RECOVERING] operations only allowed when started/relocated
via GitHub by madhusudand
, 2 years ago
[searchguard][4] CurrentState[POST_RECOVERY] operations only allowed when started/relocated
via GitHub by HemaAnusha
, 2 years ago
[searchguard][4] CurrentState[POST_RECOVERY] operations only allowed when started/relocated
org.elasticsearch.index.shard.IllegalIndexShardStateException: [pelias][0] CurrentState[RECOVERING] operations only allowed when started/relocated
at org.elasticsearch.index.shard.IndexShard.readAllowed(IndexShard.java:1004)
at org.elasticsearch.index.shard.IndexShard.acquireSearcher(IndexShard.java:797)
at org.elasticsearch.index.shard.IndexShard.acquireSearcher(IndexShard.java:793)
at org.elasticsearch.search.SearchService.createContext(SearchService.java:564)
at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:544)
at org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:385)
at org.elasticsearch.search.action.SearchServiceTransportAction$11.call(SearchServiceTransportAction.java:333)
at org.elasticsearch.search.action.SearchServiceTransportAction$11.call(SearchServiceTransportAction.java:330)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.