Uploaded image for project: 'Dev - Nexus'
  1. Dev - Nexus
  2. NEXUS-737

Indexes not being properly created on deploy of tycho-distribution

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.0.2, 1.1
    • Component/s: None
    • Labels:
      None

      Description

      It has been found that upon deploying the tycho-distribution, the index isn't properly updated.

      I have found the reason for this to be that the key used to retrieve parameters from the index is built out of group/artifact/version/classifier. Typically that is fine grained enough, but in certain instances (tycho-dist, nexus-webapp, etc.) that deploy multiple artifacts using the same gavc (i.e. a .zip and a .tar.gz version of a bundle), the index.update() method call isn't working properly. Basically if you have 3 bundles that get uploaded w/ an artifact (a .zip, .tar.gz and .tar.bz2), the last one uploaded is the only item added to the index (as the query parameters will always return the same index item).

      -----------------------------------
      There is a workaround, reindex the repository.

        Attachments

          Activity

            People

            • Assignee:
              koconnor Kristine O'Connor
              Reporter:
              bdemers Brian Demers
              Last Updated By:
              Rich Seddon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h