Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-5180

[deployments] make releases persistent in the database

    XMLWordPrintable

    Details

      Description

      Releases are not stored in the database, but computed in real-time when needed aggregating the artifacts (images). The aggregation pipeline is resource hungry, and doesn't scale well when you have thousands of artifacts.

      Refactor the micro-service to store releases as persistent documents in mongodb.

      Acceptance criteria:

      • Releases are stored in the releases collection
      • Changes to artifacts trigger a recalculation and update of the corresponding release
      • All API end-points dealing with releases read data from the releasees collection

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tranchitella Fabio Tranchitella
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: