Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-3240

When upgrading metadata index, remove old index

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 2.5.0
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Needed to get a base line reference with AtlasEye-QA

      By default, FishEye determines when to upgrade the metadata indexes using a version number defined in the code LuceneIndexes.METADATA_VERSION. When this version does not match the persisted version number (stored in InfinityDB), the metadata index is automatically upgraded.

      Currently, this is done by removing any duplicated data as we reindex, using the InfinityDB id associated with each path (see CommonIndexer.insertPath(..)). However, following the metadata index change in (CRUC-5139), we now detect duplicate using logical paths instead of the InfinityDB id. Thus, without any changes, the existing data will not be dropped.

      This task is to remove the index every times we upgrade the metadata index.

      Attachments

        Activity

          People

            pepoirot Pierre-Etienne Poirot (Inactive)
            pepoirot Pierre-Etienne Poirot (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: