-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Reindexing a 5.x index in 6.7.1 causes ArrayOutOfBoundsException #41298
Comments
Pinging @elastic/es-distributed |
Pinging @elastic/es-search |
@Chaosca this sounds like a corruption at the lucene level. It is reading out the _source for a specific document when encountering this. First off, if you have replica of the You can also consider using the |
Unfortunately this is a single node cluster. Using elasticsearch-shard returns the following for all 5 shards:
|
@henningandersen AFAICS, the @Chaosca you have two options to detect the corruption: 1) temporarily adding a file to the shard's |
The shard CLI tool would not do anything if a corruption marker was not present. But a corruption marker is only added if a corruption is detected during indexing/writing, not if a search or other read fails. Changed the tool to always check shards regardless of corruption marker presence. Releated to elastic#41298
@ywelsch Thank you, adding then |
The shard CLI tool would not do anything if a corruption marker was not present. But a corruption marker is only added if a corruption is detected during indexing/writing, not if a search or other read fails. Changed the tool to always check shards regardless of corruption marker presence. Related to #41298
The shard CLI tool would not do anything if a corruption marker was not present. But a corruption marker is only added if a corruption is detected during indexing/writing, not if a search or other read fails. Changed the tool to always check shards regardless of corruption marker presence. Related to #41298
The shard CLI tool would not do anything if a corruption marker was not present. But a corruption marker is only added if a corruption is detected during indexing/writing, not if a search or other read fails. Changed the tool to always check shards regardless of corruption marker presence. Related to elastic#41298
We changed the shard CLI tool to always check shards, regardless of corruption marker. Closing this issue. |
Elasticsearch version (
bin/elasticsearch --version
):Version: 6.7.1, Build: default/deb/2f32220/2019-04-02T15:59:27.961366Z, JVM: 1.8.0_212
Plugins installed: None
JVM version (
java -version
):openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b01-1~deb9u1-b01)
OpenJDK 64-Bit Server VM (build 25.212-b01, mixed mode)
OS version (
uname -a
if on a Unix-like system):Linux 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
I have successfully moved from ES 5.x to 6.7.1, and I wish to reindex my indices before moving to 7.0 as I have some created from in 5.x that I would like to keep.
However this results in the following exception when running this request:
Steps to reproduce:
Unfortunately, not sure. I simply run the reindex command. The
logs
index is fully searchable and mutable.The text was updated successfully, but these errors were encountered: