Clarify "Restored index backup" logging message for index copy between nodes

XMLWordPrintable

    • 2

      Current State:

      In Jira Data Center, the search index is replicated between nodes automatically through the shared home. This process adds logging to track the progress – for example:

      ClusterMessageHandlerServiceThread:thread-1 INFO      [c.a.j.index.ha.DefaultIndexRecoveryManager] Restoring search indexes - 20% complete... Restored index backup
      

      When this process completes, the following message is logged:

      ClusterMessageHandlerServiceThread:thread-1 INFO      [c.a.j.index.ha.DefaultIndexRecoveryManager] Recovering search indexes - 100% complete... Recovered all indexes
      

      However, the restore can fail between these two points and the initial message Restored index backup is misleading as it indicates the snapshot restore is complete at this time.

      Suggested Improvement:

      Remove or change the message Restored index backup within the logs to indicate the restore is not complete.

            Assignee:
            Unassigned
            Reporter:
            Chris Terry
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: