Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-480

stream: Failure to buffer 4 bytes: Failed to buffer 4 bytes within 300000 milliseconds

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2-beta0
    • Affects Version/s: 1.0.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      centos4.3

      hi,
      when I use mongoc_collection_insert and mongoc_client_pool_try_pop to insert one record into mongodb, bson_error_t ::message was set to "Failed to read 4 bytes from socket". Even worse, I found out that thousands of same record were inserted into mongo, only the object_id was not the same.
      how could this happen?
      my mongo-c-client is 1.0.2, and my mongodb is 2.6.5.
      thanks a lot .
      Allen

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            mizzler Allen K
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: