Log Remote file corruption on node ; recovering . local checksum OK – How To Solve Related Issues

Log Remote file corruption on node ; recovering . local checksum OK – How To Solve Related Issues

Updated: Jan-20

Elasticsearch Version: 1.7-8.0

Background

To resolve issues causing many log errors you can try our Elasticsearch Check-Up it analyses ES configuration to provide actionable recommendations (no installation required) 


To troubleshoot log “Remote file corruption on node ; recovering . local checksum OK” it’s important to understand a few problems related to Elasticsearch concepts discovery-file, handler, indices, node, recovery, source. See bellow important tips and explanations on these concepts

Log Context

Log”{} Remote file corruption on node {}; recovering {}. local checksum OK” classname is RecoverySourceHandler.java
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                 throw corruptIndexException;
            } else { // corruption has happened on the way to replica
                RemoteTransportException exception = new RemoteTransportException(
                    "File corruption occurred on recovery but checksums are ok"; null);
                exception.addSuppressed(e);
                logger.warn(() -> new ParameterizedMessage("{} Remote file corruption on node {}; recovering {}. local checksum OK";
                    shardId; request.targetNode(); md); corruptIndexException);
                throw exception;
            }
        } else {
            throw e;




Related issues to this log

We have gathered selected Q&A from the community and issues from Github, that can help fix related issues please review the following for further information :

1 Do I Deal With Certificates Using  

W To Fix Usr Lib Libstdc So 6 Versi  

 

About Opster

Opster detects, resolves, optimizes, automates and prevents incidents in Elasticsearch. Opster’s line of products delivers a fundamentally more effective Elasticsearch operation and backs it up with superb production support and consulting.

Find Configuration Errors

Analyze Now