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

DBClientCursor::init call() failed

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.0
    • 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
    • Linux

      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?

            Assignee:
            gregor Gregor Macadam
            Reporter:
            stipsburg Goran Nikolovski
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: