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

[deviceconfig] Patch broken migration (1.0.0)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Higher
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.3, 3.3.1
    • Labels:
    • Sprint:
      MEN Sprint 168
    • Story Points:
      2
    • Backlog:
      yes
    • Days in progress:
      4

      Description

      The document migration (1.0.0) for deviceconfig is broken and has never worked if a tenant has more than 255 devices. There is a missing BulkWrite inside the inner migration loop. Fix the migration and create a new patch migration that handles potential broken database collections.
       

        Attachments

          Activity

            People

            Assignee:
            merlin Peter Grzybowski
            Reporter:
            alfrunes Alf-Rune Siqveland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: