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

Stop DocumentSourceCursorTest from calling saveState() twice in a row

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • QE 2021-10-04

    Description

      Logs

      When SBE is turned on, this invariant fails:

      invariant(_saveState == SaveState::kNotSaved);

      This is because DocumentSourceCursorTest seems to call saveState() twice in a row. We should investigate why it does this, and remove one of these calls if it is reasonable to do so.

      Attachments

        Activity

          People

            jennifer.peshansky@mongodb.com Jennifer Peshansky (Inactive)
            jennifer.peshansky@mongodb.com Jennifer Peshansky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: