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

Invariant failure in mqlrun: doc.value().isOwned()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1, 4.2.4
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2
    • Steps To Reproduce:
      Hide

      Run mqlrun with a query that includes a sort.

      Show
      Run mqlrun with a query that includes a sort.
    • Sprint:
      Query 2019-10-07

      Description

      Queries with a sort cause this invariant failure in mqlrun:

      >    mqlrun.exe!mongo::invariantFailed(const char * expr, const char * file, unsigned int line) Line 104    C++
           [Inline Frame] mqlrun.exe!mongo::invariantWithLocation(const bool &) Line 69    C++
           mqlrun.exe!mongo::WorkingSetMember::transitionToOwnedObj() Line 122    C++
           mqlrun.exe!mongo::PipelineProxyStage::doWork(unsigned __int64 * out) Line 91    C++
           mqlrun.exe!mongo::PlanStage::work(unsigned __int64 * out) Line 47    C++
           mqlrun.exe!mongo::PlanExecutorImpl::_getNextImpl(mongo::Snapshotted<mongo::BSONObj> * objOut, mongo::RecordId * dlOut) Line 531    C++
           mqlrun.exe!mongo::PlanExecutorImpl::getNext(mongo::BSONObj * objOut, mongo::RecordId * dlOut) Line 382    C++
           mqlrun.exe!mongo::mqlrunMain(const char * pipelineStr, const char * fileName, mongo::OutputType outputType, const char * tempDir) Line 264    C++
           mqlrun.exe!main(int argc, char * * argv, char * * envp) Line 377    C++

        Attachments

          Activity

            People

            Assignee:
            justin.seyster Justin Seyster
            Reporter:
            justin.seyster Justin Seyster
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: