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

DBClientCursor::init call() failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: Internal Client
    • Labels:
    • Environment:
      O.S: Ubuntu 11.04,
      mongodb version: Mongodb v2.2.0,
      Hardware: Intel(R) Core(TM) i7 CPU 64bit, 8GB RAM
    • Operating System:
      Linux

      Description

      I have developed server application in C++ using the v2.2.0 c++ driver for establishing connections to MongoDb.
      While the server is receiving the client requests, it performs MongoDb operations (connect, query, insert...). What happens is if i kill the Mongodb server (Ctrl + C) while the application server is performing MongoDb operations, in some cases i catch "socket exception [CONNECT_ERROR] for localhost:27017", but in many cases i can not catch any exception but the server application shuts down with the message: "DBClientCursor::init call() failed".
      What is the meaning of this message, can i catch it and process it somehow, or it is a bug in the MongoDb driver?

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: