Updating indices store throttle max bytes per sec from to note type is – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 2.3-2.3

Briefly, this error occurs when there’s an attempt to update the indices store throttle max bytes per sec in Elasticsearch, but the new value is not specified or is invalid. This setting controls the rate at which segments are written to disk. To resolve this issue, ensure you’re providing a valid value for the setting. It should be a positive number followed by ‘mb’ or ‘gb’. If you don’t want any throttling, you can set it to ‘0’. Also, ensure you’re using the correct API endpoint and method to update this setting.

This guide will help you check for common problems that cause the log ” updating indices.store.throttle.max_bytes_per_sec from [{}] to [{}]; note; type is [{}] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: indices.

Log Context

Log “updating indices.store.throttle.max_bytes_per_sec from [{}] to [{}]; note; type is [{}]” classname is IndicesStore.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                 IndicesStore.this.rateLimiting.setType(rateLimitingType);
            }

            ByteSizeValue rateLimitingThrottle = settings.getAsBytesSize(INDICES_STORE_THROTTLE_MAX_BYTES_PER_SEC; IndicesStore.this.rateLimitingThrottle);
            if (!rateLimitingThrottle.equals(IndicesStore.this.rateLimitingThrottle)) {
                logger.info("updating indices.store.throttle.max_bytes_per_sec from [{}] to [{}]; note; type is [{}]"; IndicesStore.this.rateLimitingThrottle; rateLimitingThrottle; IndicesStore.this.rateLimitingType);
                IndicesStore.this.rateLimitingThrottle = rateLimitingThrottle;
                IndicesStore.this.rateLimiting.setMaxRate(rateLimitingThrottle);
            }
        }
    }




 

 [ratemypost]