Skip to content

Startup fails due to self built index is in recovering state #717

Answered by lonvia
sibbl asked this question in Q&A
Discussion options

You must be logged in to vote

This looks like indexing was not finished for some reason before the database was shut down after the import was finished. Photon itself has no code for index recovery. You could try to hack something in. According to this stackoverflow any of the following should do the trick:

client.admin().indices().prepareFlush("photon").get();

client.admin().indices().prepareRefresh("photon").get();

Best place is probably just hacking it in after

If that works for you, let us know and we can think about adding a recovery functionality to photon.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@lonvia
Comment options

@sibbl
Comment options

Comment options

You must be logged in to vote
4 replies
@sibbl
Comment options

@lonvia
Comment options

@sibbl
Comment options

@lonvia
Comment options

Answer selected by sibbl
Comment options

You must be logged in to vote
1 reply
@lonvia
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #716 on February 03, 2023 09:18.