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

Stop DocumentSourceCursorTest from calling saveState() twice in a row

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • QE 2021-10-04

      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.

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

              Created:
              Updated:
              Resolved: