Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES shards red status after old indices removing #13347

Closed
iTonych opened this issue Sep 4, 2015 · 4 comments
Closed

ES shards red status after old indices removing #13347

iTonych opened this issue Sep 4, 2015 · 4 comments

Comments

@iTonych
Copy link

iTonych commented Sep 4, 2015

Hi guys. We was removed old indices files and now ES dont work properly.
In ES log we find:
"failed to fetch index version after copying it over"
And we find solution - #4674
But it didnt helped:)
Some shards are red. Also ES log file growing and growing and growing.
I never worked with ES before and have no idea how to fix it.
http://localhost:9200/_refresh show
{"_shards":{"total":1192,"successful":1058,"failed":0}}

@iTonych
Copy link
Author

iTonych commented Sep 4, 2015

[2015-09-04 11:50:48,452][WARN ][cluster.action.shard ] [Laura Dean] [logstash-2015.04.24][1] sending failed shard for [logstash-2015.04.24][1], node[O4MVugiuQg2vMrBo93wEXQ], [P], s[INITIALIZING], indexUUID [WicD5EdOTUaPy3glrY34gg], reason [Failed to start shard, message [IndexShardGatewayRecoveryException[[logstash-2015.04.24][1] failed to fetch index version after copying it over]; nested: IndexShardGatewayRecoveryException[[logstash-2015.04.24][1] shard allocated for local recovery (post api), should exist, but doesn't, current files: [segments_1g]]; nested: FileNotFoundException[No such file [_9p6.si]]; ]]

@iTonych
Copy link
Author

iTonych commented Sep 4, 2015

1.4.0 elasticsearch version
1.4.2 logstash verison

@clintongormley
Copy link

Hi @iTonych

The correct place to ask questions like these is in the forums: https://discuss.elastic.co/

It looks like the index is corrupt. You should delete it. Deleting via the API should work but failing that, just delete the shard on disk. I also recommend upgrading.

@iTonych
Copy link
Author

iTonych commented Sep 7, 2015

Thanks @clintongormley ! It works)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants