[SERVER-53524] Destruction of Pipeline objects and resharding's short-lived OperationContexts are incompatible Created: 24/Dec/20  Updated: 29/Oct/23  Resolved: 06/Jan/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Bug Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-data-clone
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2021-01-11
Participants:
Story Points: 1

 Description   

PipelineDeleter will attempt to call Pipeline::dispose() using the OperationContext the Pipeline was initially constructed with. Consumers which intend to use the Pipeline over the course of multiple OperationContexts are expected to call Pipeline::dismissDisposal() and call Pipeline::dispose() themselves.



 Comments   
Comment by Githook User [ 06/Jan/21 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-53524 Fix disposal of Pipeline in ReshardingCollectionCloner.
Branch: master
https://github.com/mongodb/mongo/commit/7dd9c9fe07ac0f0bdbdf0ebb03bcd77f42dafca4

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