StorageInterfaceImpl::_findOrDeleteDocuments() should consider using a different db_raii helper

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Replication
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: