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

Implement upgrade/downgrade logic for orphans tracking

    • Fully Compatible
    • Sharding EMEA 2022-03-07

      On upgrade (during phase 2 of setFCV):

      • Populate theĀ numOrphanDocs field on range deletion task documents by counting index entries belonging to orphaned ranges

      On downgrade (during phase 1 of setFCV):

      • Unset the numOrphanDocs field from range deletion task documents.

      It does not fall in the scope of this ticket the synchronization of numOrphanDocs updates with ongoing migrations.

            Assignee:
            paolo.polato@mongodb.com Paolo Polato
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: