Investigate if getMore failpoints no longer need to drop and reacquire db_raii helper

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The implementation of the getMore command has a few fail points which tests can enabled in order to cause the getMore to hang at specific points in its execution, among them:

      Both fail points currently have code that will cause them to repeatedly drop and reacquire their AutoGetCollectionForReadCommandMaybeLockFree. This code was initially introduced under SERVER-21997 to solve a deadlock in our tests. However, this deadlock required the MMAPv1 storage engine, which has since been deleted from the code base. We should investigate if we can now safely remove the code for dropping/reacquiring the db_raii object while hanging on these getMore failpoints.

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: