[SERVER-65112] TTL index deletions must not target orphaned documents Created: 31/Mar/22  Updated: 29/Oct/23  Resolved: 04/Apr/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: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-04-04, Sharding EMEA 2022-04-18
Participants:

 Description   

The number of orphaned documents is tracked on range deletion tasks based on the assumption that only the range-deleter is going to clear them. In order to preserve the assumption, deletes performed by the TTL monitor must skip orphaned documents (that will anyway be removed by the range-deleter at some point).



 Comments   
Comment by Githook User [ 04/Apr/22 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-65112 TTL index deletions must not target orphaned documents
Branch: master
https://github.com/mongodb/mongo/commit/02393f1c3f5be3465919597c890b3249ea2cc18e

Generated at Thu Feb 08 06:01:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.