Uploaded image for project: 'Bitrepository'
  1. Bitrepository
  2. BITMAG-574 Implements database migration functionality for the service and pillar databases
  3. BITMAG-838

Implement database migration functionality for ReferencePillar ChecksumDatabase

    XMLWordPrintable

Details

    • Hide

      Run a ReferencePillar in version 0.23.
      Put files to this pillar.
      Perform a GetChecksums for all files from the pillar, and save the results.
      Upgrade to version 0.24
      Perform a GetChecksums for all files from the pillar, and save the results.
      Verify that it is the same files with the same checksums in two GetChecksums results (they might not make a perfect match using 'diff', since the order of the files might have changed).

      Show
      Run a ReferencePillar in version 0.23. Put files to this pillar. Perform a GetChecksums for all files from the pillar, and save the results. Upgrade to version 0.24 Perform a GetChecksums for all files from the pillar, and save the results. Verify that it is the same files with the same checksums in two GetChecksums results (they might not make a perfect match using 'diff', since the order of the files might have changed).

    Description

      Make it possible to migrate the checksum database for the ReferencePillar and ChecksumPillar.
      The file-ids are no longer unique, only with regards to a given CollectionID.
      The migration should assign the current CollectionID to all the file ids.

      Attachments

        Activity

          People

            jolf Jonas Lindberg Frellesen (Inactive)
            jolf Jonas Lindberg Frellesen (Inactive)
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: