[SERVER-63762] Track initial number of orphans in range deletion task documents (receiver-side) Created: 17/Feb/22  Updated: 29/Oct/23  Resolved: 25/Feb/22

Status: Closed
Project: Core Server
Component/s: None
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
Related
related to SERVER-63763 Track initial number of orphans in ra... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-03-07
Participants:

 Description   

Objective of this ticket is to only track the initial number of orphans on the recipient.

During a migration, on a recipient such field will be:

  • Initialized to 0 when the pending range deletion documents is created.
  • Increased after every received batch.
  • Increased/decreased upon applying modifications (transferMods): may increase in case of upserts, decrease in case of deletions.


 Comments   
Comment by Githook User [ 25/Feb/22 ]

Author:

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

Message: SERVER-63762 Track initial number of orphans in range deletion task documents (receiver-side)
Branch: master
https://github.com/mongodb/mongo/commit/7d4dbedf77ff71dacae416a34f8345edddf007ed

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