Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-43500

Index recovery removes from index only one issue missing from db rather than all of them

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      During JIRA start there is code that attempts to recover JIRA's issues index to consistent state. As part of this process issues that are indexed but are no longer present in database are removed from index. There is a bug in that code that results in only the first issue check to be removed.

      This bug manifests itself by following warnings in log:

       2015-05-04 00:26:55.007679500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=177637) has empty field 'num'. Returning null for 'key'.
      2015-05-04 00:26:55.007682500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=0) has empty field 'num'. Returning null for 'key'.
      2015-05-04 00:26:55.007683500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=0) has empty field 'num'. Returning null for 'key'.
      2015-05-04 00:26:55.007684500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=177637) has empty field 'num'. Returning null for 'key'.
      2015-05-04 00:26:55.007685500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=0) has empty field 'num'. Returning null for 'key'.
      2015-05-04 00:26:55.007686500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=0) has empty field 'num'. Returning null for 'key'.
      2015-05-04 00:26:55.007687500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=177637) has empty field 'num'. Returning null for 'key'.
      2015-05-04 00:26:55.007689500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=0) has empty field 'num'. Returning null for 'key'.
      2015-05-04 00:26:55.007692500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=0) has empty field 'num'. Returning null for 'key'.
      2015-05-04 00:26:55.007692500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=177637) has empty field 'num'. Returning null for 'key'.
      2015-05-04 00:26:55.007693500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=0) has empty field 'num'. Returning null for 'key'.
      2015-05-04 00:26:55.007695500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=0) has empty field 'num'. Returning null for 'key'.
      2015-05-04 00:26:55.007696500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=177637) has empty field 'num'. Returning null for 'key'.
      2015-05-04 00:26:55.007697500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=0) has empty field 'num'. Returning null for 'key'.
      2015-05-04 00:26:55.007698500 2015-05-03 22:26:55,004 main WARN      [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=0) has empty field 'num'. Returning null for 'key'.
      ...
      

      Attachments

        Issue Links

          Activity

            People

              pklimkowski@atlassian.com Piotr Klimkowski (Inactive)
              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: