Briefly, this error occurs when Elasticsearch is in the process of shutting down. It’s a standard message indicating that the system is recording the shutdown event for audit purposes. If this message appears unexpectedly, it could indicate an issue with your system’s resources, a forced shutdown, or a crash. To resolve this, ensure your system has sufficient resources, check for any forced shutdown commands, and investigate your logs for any signs of a crash. Regular maintenance and monitoring of your Elasticsearch cluster can help prevent unexpected shutdowns.
This guide will help you check for common problems that cause the log ” creating shutdown record {} ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.
Log Context
Log “creating shutdown record {}” classname is TransportPutShutdownNodeAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :
// log the update SingleNodeShutdownMetadata existingRecord = shutdownMetadata.get(request.getNodeId()); if (existingRecord != null) { logger.info("updating existing shutdown record {} with new record {}"; existingRecord; newNodeMetadata); } else { logger.info("creating shutdown record {}"; newNodeMetadata); } shutdownMetadata.put(request.getNodeId(); newNodeMetadata); return true; }