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

Error message "AssertionError: ids don't match 2044897763 256"

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.10
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      mongodb 1.6.3
      pymongo 1.8.1

      We inserted 90000000 documents into collection C1 of database D.
      And then tried to access other collections in the same database D.
      Then these errors occurred continually.

      Here are the logs:
      ========

      File "/usr/local/lib/python2.6/site-packages/saas_sd/ds/app/TableStore.py", line 370, in find
      docs = list(cursor)
      File "/usr/local/lib/python2.6/site-packages/pymongo/cursor.py", line 563, in next
      if len(self.__data) or self._refresh():
      File "/usr/local/lib/python2.6/site-packages/pymongo/cursor.py", line 526, in _refresh
      self._query_spec(), self._fields))
      File "/usr/local/lib/python2.6/site-packages/pymongo/cursor.py", line 482, in __send_message
      **kwargs)
      File "/usr/local/lib/python2.6/site-packages/pymongo/connection.py", line 670, in _send_message_with_response
      return self.__send_and_receive(message, sock)
      File "/usr/local/lib/python2.6/site-packages/pymongo/connection.py", line 651, in __send_and_receive
      return self.__receive_message_on_socket(1, request_id, sock)
      File "/usr/local/lib/python2.6/site-packages/pymongo/connection.py", line 641, in __receive_message_on_socket
      struct.unpack("<i", header[8:12])[0])
      AssertionError: ids don't match 2044897763 256
      : 173
      ==========

      File "/usr/local/lib/python2.6/site-packages/saas_sd/ds/app/TableStore.py", line 361, in find
      return BSON.from_dict(

      {u'result': cursor.count()}

      )
      File "/usr/local/lib/python2.6/site-packages/pymongo/cursor.py", line 371, in count
      **command)
      File "/usr/local/lib/python2.6/site-packages/pymongo/database.py", line 288, in command
      _is_command=True)
      File "/usr/local/lib/python2.6/site-packages/pymongo/collection.py", line 471, in find_one
      for result in self.find(spec_or_id, *args, **kwargs).limit(-1):
      File "/usr/local/lib/python2.6/site-packages/pymongo/cursor.py", line 563, in next
      if len(self.__data) or self._refresh():
      File "/usr/local/lib/python2.6/site-packages/pymongo/cursor.py", line 526, in _refresh
      self._query_spec(), self._fields))
      File "/usr/local/lib/python2.6/site-packages/pymongo/cursor.py", line 482, in __send_message
      **kwargs)
      File "/usr/local/lib/python2.6/site-packages/pymongo/connection.py", line 670, in _send_message_with_response
      return self.__send_and_receive(message, sock)
      File "/usr/local/lib/python2.6/site-packages/pymongo/connection.py", line 651, in __send_and_receive
      return self.__receive_message_on_socket(1, request_id, sock)
      File "/usr/local/lib/python2.6/site-packages/pymongo/connection.py", line 641, in __receive_message_on_socket
      struct.unpack("<i", header[8:12])[0])
      AssertionError: ids don't match 1189641421 1932358498

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            stewwu Che-Ching Wu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: