Log Settings and are deprecated. Index settings from your old indices have been updated to record the fact that they – How To Solve Related Issues

Log Settings and are deprecated. Index settings from your old indices have been updated to record the fact that they – How To Solve Related Issues

Updated: Feb-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 “Settings and are deprecated. Index settings from your old indices have been updated to record the fact that they” it’s important to understand a few problems related to Elasticsearch concepts cluster, index, metadata, settings, upgrade. See bellow important tips and explanations on these concepts

Log Context

Log”Settings [{}] and [{}] are deprecated. Index settings from your old indices have been updated to record the fact that they” classname is MetaDataIndexUpgradeService.java
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

         } else {
            pre20HashFunction = DjbHashFunction.class;
        }
        pre20UseType = settings.getAsBoolean(DEPRECATED_SETTING_ROUTING_USE_TYPE; null);
        if (hasCustomPre20HashFunction || pre20UseType != null) {
            logger.warn("Settings [{}] and [{}] are deprecated. Index settings from your old indices have been updated to record the fact that they "
                    + "used some custom routing logic; you can now remove these settings from your `elasticsearch.yml` file"; DEPRECATED_SETTING_ROUTING_HASH_FUNCTION; DEPRECATED_SETTING_ROUTING_USE_TYPE);
        }
    }

    /**




 

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 Sticsearch Query To Return All Reco  

Github Issue Number 15613  

 

About Opster

Opster provides real-time recommendations to resolve and prevent Elasticsearch problems and can perform advanced actions that improve performance, automate operation and reduces costs

Find Configuration Errors

Analyze Now