Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-54193

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • Query Execution

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: