Update `numOrphanDocs` upon batch deletions

XMLWordPrintableJSON

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

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

                Created:
                Updated:
                Resolved: