Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-56353

Clear leftover incomplete chunk entries on FCV upgrade from 4.4 to 5.0

    • Fully Compatible

      Sharded DDL running under versions 4.4 and earlier can possibly fail after having written some config.chunks entries, but before it has written the config.collection entry to join them. Such chunks would become unreachable and are effectively garbage.

      Since they are unreachable for the upgrade process as well, it means we cannot assign UUID to them and because of this they would result in a duplicate key error on the uuid, min index. Because of this, they should be deleted after we have patched up all the chunks reachable from config.collections entries.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: