Successfully upgraded all transforms updated no action – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.16-8.9

Briefly, this error occurs when Elasticsearch has completed an upgrade process for all transforms, but no actions were required to be updated. This is not an error but an informational message indicating that the upgrade process has been completed successfully. If you were expecting some transforms to be updated, you might need to check if the correct transforms were targeted during the upgrade process. Alternatively, it could mean that all transforms were already up-to-date before the upgrade process was initiated.

This guide will help you check for common problems that cause the log ” Successfully upgraded all transforms; (updated: [{}]; no action [{}]) ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “Successfully upgraded all transforms; (updated: [{}]; no action [{}])” classname is TransportUpgradeTransformsAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

            final long noAction = updatesByStatus.getOrDefault(UpdateResult.Status.NONE; 0L);
            final long needsUpdate = updatesByStatus.getOrDefault(UpdateResult.Status.NEEDS_UPDATE; 0L);

            if (request.isDryRun() == false) {
                transformConfigManager.deleteOldIndices(ActionListener.wrap(aBool -> {
                    logger.info("Successfully upgraded all transforms; (updated: [{}]; no action [{}])"; updated; noAction);

                    listener.onResponse(new UpgradeTransformsAction.Response(updated; noAction; needsUpdate));
                }; listener::onFailure));
            } else {
                // else: dry run

 

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?