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
_cat/recovery stage done but not 100% #7803
Comments
Experiencing a similar mismatch in v1.4.5, it seems like the _cat/recovery is displaying old info instead of latest:
Even though all primary and replica shards are started ok:
|
@bleskes any ideas about this? |
with 1.3.2 the file % shows of recovered bytes of the total shard size. That means it will bellow 100% if files are re-used. It's confusing and we changed in #9811 to make 100% to mean all bytes that needs to be recovered (instead of total bytes). I think we can close this, as the class is now refactored and cleaned up. If you still feel there are issues with it (or I missed something), please feel free to reopen. |
I have two clusters each three nodes running elasticsearch version: 1.3.2, build: dee175d.
Network issues disconnected one node each cluster - they periodically rejoined and disconnected before completing shard recovery - finally they rejoined again and completed recovery successfully.
cluster state is green and all shards are in state started on both clusters.
But if I call _cat/recovery api I get a lot of shard-entries with stage done but below 100 percent.
Maybe there is a small bug in the file_percent and bytes_percent calculation?
Example of one index - in about 70% of the entries files_percent and bytes_percent are below 100%
The text was updated successfully, but these errors were encountered: