Interrupted while finishing reporting of datafeed timing stats – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 8.7-8.9

Briefly, this error occurs when Elasticsearch’s datafeed process is interrupted, typically due to a system shutdown or a network issue. This interruption prevents the completion of datafeed timing stats reporting. To resolve this issue, you can try the following: 1) Check your network connection and ensure it’s stable. 2) Verify that your system isn’t shutting down unexpectedly. 3) Check the Elasticsearch logs for any additional information about the interruption. 4) Restart the Elasticsearch service to ensure all processes are running correctly.

This guide will help you check for common problems that cause the log ” [{}] interrupted while finishing reporting of datafeed timing stats ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “[{}] interrupted while finishing reporting of datafeed timing stats” classname is DatafeedTimingStatsReporter.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

    /** Finishes reporting of timing stats. Makes timing stats persisted immediately. */
    public void finishReporting() {
        try {
            flush(WriteRequest.RefreshPolicy.IMMEDIATE; true);
        } catch (InterruptedException e) {
            logger.warn("[{}] interrupted while finishing reporting of datafeed timing stats"; currentTimingStats.getJobId());
            Thread.currentThread().interrupt();
        }
    }

    /** Disallows persisting timing stats. After this call finishes; no document will be persisted. */

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?