Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-238

error after few million requests

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.11
    • Affects Version/s: None
    • Component/s: None
    • None

      after few million requests (all direct keys)
      the following error has occured (happend twice)

      /usr/local/lib/python2.6/site-packages/pymongo-1.9_-py2.6-linux-i686.egg/pymongo/message.py:128: DeprecationWarning: struct integer overflow masking is deprecated
      Traceback (most recent call last):
      File "check_user.py", line 99, in <module>
      e += check_user(line.strip())
      File "check_user.py", line 74, in check_user
      if mdb.phones.find_one(

      {PH_PHONE:num}

      ,

      {"_id":1}

      ) is not None:
      File "build/bdist.linux-i686/egg/pymongo/collection.py", line 469, in find_one
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 601, in next
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 564, in _refresh
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 521, in __send_message
      File "build/bdist.linux-i686/egg/pymongo/connection.py", line 790, in _send_message_with_response
      File "build/bdist.linux-i686/egg/pymongo/connection.py", line 771, in __send_and_receive
      File "build/bdist.linux-i686/egg/pymongo/connection.py", line 761, in __receive_message_on_socket
      AssertionError: ids don't match -2147483649L 2147483647

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            ofersa ofer samocha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: