no exception from insert when mongdb is down

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.4.1
    • Component/s: Internal Client
    • None
    • Environment:
      OS Linux Ubuntu Server 9.10
      libboost 1.40
      g++ (Ubuntu 4.4.1-4ubuntu9) 4.4.1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      1) start mongo db
      2) start a base c++ client that start a connection (with autoreconnect enabled) that every 10 seconds do an insert on mongodb.
      3) restart mongodb
      4) the next one insert for the driver go right (no write is really performed on db), now if I perform another one insert the client recive a SocketException (and the data go lost), at 3rd insert mongo trying to reconnect.

      is that a normal behavior?

            Assignee:
            Eliot Horowitz (Inactive)
            Reporter:
            Andrea Nicotra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: