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

Stop DocumentSourceCursorTest from calling saveState() twice in a row

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      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

          Issue Links

            Activity

              People

              Assignee:
              jennifer.peshansky Jennifer Peshansky
              Reporter:
              jennifer.peshansky Jennifer Peshansky
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: