[SERVER-63336] Update `numOrphanDocs` upon batch deletions Created: 07/Feb/22  Updated: 29/Oct/23  Resolved: 08/Mar/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: pm-2323-orphans-tracking
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-63335 Add `numOrphanDocs` field to range de... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-03-21
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 08/Mar/22 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-63336 Update `numOrphanDocs` upon batch deletions
Branch: master
https://github.com/mongodb/mongo/commit/8e409e17458a329701e86b529bd6c50fc2baa3ec

Generated at Thu Feb 08 05:57:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.