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

Implement upgrade/downgrade logic for orphans tracking

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Sharding EMEA 2022-03-07

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: