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

Full reindex operation takes longer time in Server-licensed Jira instances 9.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Highest
    • 9.12.0, 9.4.12
    • 9.0.0, 9.4.6, 9.4.7, 9.9.1, 9.4.8, 9.10.2
    • Indexing
    • 9
    • 22
    • Severity 2 - Major
    • 221
    • Hide
      Atlassian Update – 25 October 2023

      Dear customers,

      Thank you for taking the time to file and comment on this issue.
      I'm happy to announce that we were able to deliver the improvement around foreground reindexing for Server instances to Jira 9.4.12. The fix is based on bringing two improvements in the way full reindex works from DC to Server licensed instances:

      • moving some steps of processing each issue from single-threaded to multi-threaded phase of the operation
      • changes in traversing db -  loading more issues from database on each step, in order to dispatch whole batch instead of single issue per thread

      The default size of these issues per thread batches is 50(in rare cases it's necessary, it can be changed by tuning the system property jira.custom.field.indexing.batch.size). Please note, that setting this property to 1 will disable using the improved path completely completely.

      Michał Błajet
      Jira DC Software Engineer

      Show
      Atlassian Update – 25 October 2023 Dear customers, Thank you for taking the time to file and comment on this issue. I'm happy to announce that we were able to deliver the improvement around foreground reindexing for Server instances to Jira 9.4.12. The fix is based on bringing two improvements in the way full reindex works from DC to Server licensed instances: moving some steps of processing each issue from single-threaded to multi-threaded phase of the operation changes in traversing db -  loading more issues from database on each step, in order to dispatch whole batch instead of single issue per thread The default size of these issues per thread batches is 50(in rare cases it's necessary, it can be changed by tuning the system property jira.custom.field.indexing.batch.size ) . Please note, that setting this property to 1 will disable using the improved path completely completely. Michał Błajet Jira DC Software Engineer

    Description

      Issue Summary

      The full reindex process has slowed down significantly for some customers. This is due to extra operations performed during reindexing that improve index correctness.

      Steps to Reproduce

      1. Update a Server-licensed instance to Jira 9.x.
      2. Run full re-index.

      Expected Results

      There is no significant time degradation compared to 8.20.x.

      Upgrading from 8.x to 9.x - Index changes

      Full reindex process durations might slightly increase(our tests estimate this increase can be up to 3 minutes per 1M issues)

      Actual Results

      Operation takes significantly more time.

      Workaround

      Currently, there is no known workaround for this behaviour. A workaround will be added here when available.

      Notes

      • DC-licensed instances where property jira.custom.field.indexing.batch.size is set to 1 in 9.x environment are also impacted by this Bug.
      • For DC-licensed instances who have NOT set jira.custom.field.indexing.batch.size=1, this issue is addressed in JRASERVER-74787.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              michin Michelle Chin
              Votes:
              32 Vote for this issue
              Watchers:
              50 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: