Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-13382

Mesh migration does not mark migrated forks without objects as dirty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 8.0.2, 8.1.2, 8.2.1, 8.3.0
    • 8.0.0
    • Mesh
    • None

      Issue Summary

      When BBS migrates a fork to Mesh that does not have any objects or packs under repo-dir/objects, Mesh does not mark that repository as 'dirty' after migration.

      The result is that the fork isn't vacuumed into shared-objects until the first write against the fork happens. If the fork is not used, but contains a ref to an object that is not referenced by any other repository in the hierarchy, its refs can become invalid after the shared-objects repository is garbage collected.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            behumphreys Ben Humphreys
            behumphreys Ben Humphreys
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: