Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-74248

Jira shows unnecessarily alarming stack trace when reindexing thread is expectedly disabled

XMLWordPrintable

      Issue Summary

      Jira shows unnecessarily alarming stack trace during operaions it is an expected state:

      • foreground reindexing
      • node startup

      This is reproducible on Data Center: yes

      Steps to Reproduce

      Run "Foreground Reindex" in DC environment or Start a new node in cluster

      Expected Results

      No alarming log messages with stack traces occur int the logs during the process

      Actual Results

      The below recurring message is showing in the atlassian-jira.log file during whole duration of the foreground reindex or while the instance is acquiring index during startup.

      2021-06-15 17:02:36,235-0400 NodeReindexServiceThread:thread-0 INFO      [c.a.j.index.ha.DefaultNodeReindexService] [INDEX-REPLAY] Node re-index service is not running: currentNode.isClustered=true, notRunningCounter=12, paused=true, lastPausedStacktrace=java.lang.Throwable
          	at com.atlassian.jira.index.ha.DefaultNodeReindexService.pause(DefaultNodeReindexService.java:215)
          	at com.atlassian.jira.util.index.CompositeIndexLifecycleManager.reIndexAll(CompositeIndexLifecycleManager.java:62)
          	at com.atlassian.jira.util.index.CompositeIndexLifecycleManager.reIndexAll(CompositeIndexLifecycleManager.java:51)
          	at com.atlassian.jira.web.action.admin.index.ReIndexAsyncIndexerCommand.doReindex(ReIndexAsyncIndexerCommand.java:27)
          	at com.atlassian.jira.web.action.admin.index.AbstractAsyncIndexerCommand.call(AbstractAsyncIndexerCommand.java:63)
          	at com.atlassian.jira.web.action.admin.index.ReIndexAsyncIndexerCommand.call(ReIndexAsyncIndexerCommand.java:18)
          	at com.atlassian.jira.web.action.admin.index.AbstractAsyncIndexerCommand.call(AbstractAsyncIndexerCommand.java:26)
          	at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:533)
          	at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:491)
          	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
          	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          	at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:216)
          	at java.lang.Thread.run(Thread.java:748) 

      Workaround

      No workaround, this message can be ignored if it's visible only during foreground reindex

              Unassigned Unassigned
              jreczycki Jakub Reczycki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: