[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: |