Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-40384

Automatic reindexing can trigger unnecessarily

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. Set up a one node cluster
      2. Either populate the instance with a lot of data or disable index flushing job so that reindexing will block index flush from happening during startup
      3. Stop the node
      4. Remove ${CONFLUENCE_HOME}/journal/main_index file
      5. Start the node and let reindexing complete
      6. Restart the node

      Outcome: Reindexing is triggered again

      Suggested fix: Update journal id to be the id of the latest entry in journalentry table at the beginning of reindexing.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              onevalainen Olli Nevalainen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: