Implement upgrade/downgrade logic for orphans tracking

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding EMEA 2022-03-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Pierlauro Sciarelli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: