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

Update `numOrphanDocs` upon batch deletions

    • Fully Compatible
    • Sharding EMEA 2022-03-21

      Decrease the persisted numOrphanDocs field from range deletion task document after a batch is deleted: numOrphanDocs - numDeleted.

       

      This is a separate ticket from SERVER-63335 because, even though the change is trivial, it is also accounting for the time to implement proper tests covering it.

            Assignee:
            allison.easton@mongodb.com Allison Easton
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: