[SERVER-28499] StorageInterfaceImpl::_findOrDeleteDocuments() should consider using a different db_raii helper Created: 24/Mar/17  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Charlie Swanson Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-25694 DocumentSourceCursor should destroy i... Closed
Assigned Teams:
Replication
Participants:

 Description   

I've spoke to benety.goh, and we believe the only users of this class are working with non-replicated collections, but if it were ever to be used with replicated collections, this lock acquisition is a bit suspect. Namely, it is not using AutoGetCollectionForRead even though it might perform reads. AutoGetCollectionForRead will ensure that a user's request for a readConcern of majority will be met, which maybe should happen here.


Generated at Thu Feb 08 04:18:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.