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

DBCommandCursor.itcount causes hasShardVersion Invariant failure on standalone mongod

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.1.9
    • Fix Version/s: 3.2.0-rc1
    • Component/s: Querying
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      QuInt B (11/02/15)

      Description

          frame #13: 0x000000010143be1e mongod`mongo::invariantFailed(expr="!operationShardVersion.hasShardVersion()", file="src/mongo/db/dbcommands.cpp", line=1262) + 382 at assert_util.cpp:152
          frame #14: 0x00000001004aea33 mongod`mongo::Command::execCommand(txn=0x0000000106410090, command=0x0000000102fd4e50, request=0x00007000007a1e10, replyBuilder=0x00007000007a1ec0) + 3811 at dbcommands.cpp:1262
          frame #15: 0x0000000100355724 mongod`mongo::runCommands(txn=0x0000000106410090, request=0x00007000007a1e10, replyBuilder=0x00007000007a1ec0) + 2212 at commands.cpp:497
          frame #16: 0x0000000100748b58 mongod`mongo::receivedCommand(txn=0x0000000106410090, nss=0x00007000007a2fe0, client=0x0000000105618910, dbResponse=0x00007000007a30f0, message=0x0000000106411170) + 968 at instance.cpp:254
          frame #17: 0x00000001007466e9 mongod`mongo::assembleResponse(txn=0x0000000106410090, m=0x0000000106411170, dbresponse=0x00007000007a30f0, remote=0x0000000102fd7cb0) + 2361 at instance.cpp:523
          frame #18: 0x00000001004c76f7 mongod`mongo::DBDirectClient::call(this=0x000000010660acf0, toSend=0x0000000106411170, response=0x0000000106404ee0, assertOk=false, actualServer="localhost") + 263 at dbdirectclient.cpp:123
          frame #19: 0x00000001004c78ee mongod`non-virtual thunk to mongo::DBDirectClient::call(this=0x000000010660acf0, toSend=0x0000000106411170, response=0x0000000106404ee0, assertOk=false, actualServer="localhost") + 78 at dbdirectclient.cpp:117
          frame #20: 0x00000001000e4257 mongod`mongo::DBClientWithCommands::runCommandWithMetadata(this=0x000000010660acf0, database=(_data = "test", _size = 4), command=(_data = "geoNear", _size = 7), metadata=0x00007000007a5468, commandArgs=0x00007000007a5478) + 1623 at dbclient.cpp:317
          frame #21: 0x00000001000e5e3c mongod`mongo::DBClientWithCommands::runCommand(this=0x000000010660acf0, dbname="test", cmd=0x00007000007a57d8, info=0x000000010660aca0, options=0) + 1148 at dbclient.cpp:359
          frame #22: 0x000000010085c195 mongod`mongo::DocumentSourceGeoNear::runCommand(this=0x000000010660ac00) + 341 at document_source_geo_near.cpp:157
          frame #23: 0x000000010085bc07 mongod`mongo::DocumentSourceGeoNear::getNext(this=0x000000010660ac00) + 151 at document_source_geo_near.cpp:52
          frame #24: 0x000000010057e637 mongod`mongo::PipelineProxyStage::getNextBson(this=0x000000010660b0e0) + 87 at pipeline_proxy.cpp:127
          frame #25: 0x000000010057e3eb mongod`mongo::PipelineProxyStage::work(this=0x000000010660b0e0, out=0x00007000007a5f30) + 731 at pipeline_proxy.cpp:72
          frame #26: 0x0000000100a756ba mongod`mongo::PlanExecutor::getNextImpl(this=0x000000010660ab40, objOut=0x00007000007a6480, dlOut=0x0000000000000000) + 2522 at plan_executor.cpp:393
          frame #27: 0x0000000100a74c07 mongod`mongo::PlanExecutor::getNext(this=0x000000010660ab40, objOut=0x00007000007a6658, dlOut=0x0000000000000000) + 103 at plan_executor.cpp:322
          frame #28: 0x00000001003abfb7 mongod`mongo::GetMoreCmd::generateBatch(this=0x0000000102fd5110, cursor=0x000000010660b1b0, request=0x00007000007a7bc8, nextBatch=0x00007000007a6ce8, state=0x00007000007a6cd4, numResults=0x00007000007a6cc8) + 151 at getmore_cmd.cpp:398
          frame #29: 0x00000001003a97c2 mongod`mongo::GetMoreCmd::run(this=0x0000000102fd5110, txn=0x0000000106410090, dbname="test", cmdObj=0x00007000007a7fb0, options=0, errmsg="", result=0x00007000007a80d0) + 8386 at getmore_cmd.cpp:295
          frame #30: 0x00000001004b00c0 mongod`mongo::Command::run(this=0x0000000102fd5110, txn=0x0000000106410090, request=0x00007000007a8f20, replyBuilder=0x00007000007a8fa0) + 3216 at dbcommands.cpp:1388
          frame #31: 0x00000001004aee94 mongod`mongo::Command::execCommand(txn=0x0000000106410090, command=0x0000000102fd5110, request=0x00007000007a8f20, replyBuilder=0x00007000007a8fa0) + 4932 at dbcommands.cpp:1293
          frame #32: 0x0000000100355724 mongod`mongo::runCommands(txn=0x0000000106410090, request=0x00007000007a8f20, replyBuilder=0x00007000007a8fa0) + 2212 at commands.cpp:497
          frame #33: 0x0000000100749f22 mongod`mongo::(anonymous namespace)::receivedRpc(txn=0x0000000106410090, client=0x0000000105618910, dbResponse=0x00007000007aa2a8, message=0x00007000007aab90) + 626 at instance.cpp:295
          frame #34: 0x0000000100746746 mongod`mongo::assembleResponse(txn=0x0000000106410090, m=0x00007000007aab90, dbresponse=0x00007000007aa2a8, remote=0x00007000007aa280) + 2454 at instance.cpp:528
          frame #35: 0x000000010000b93f mongod`mongo::MyMessageHandler::process(this=0x00000001064004e0, m=0x00007000007aab90, port=0x000000010571c2d0) + 383 at db.cpp:169
          frame #36: 0x000000010147e6dc mongod`mongo::PortMessageServer::handleIncomingMsg(arg=0x000000010571c2d0) + 3132 at message_server_port.cpp:229
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: