Python Driver
  1. Python Driver
  2. PYTHON-167

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

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical - P2 Critical - P2
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 1.10
    • Labels:
      None
    • Environment:
      mongodb 1.6.3
      pymongo 1.8.1
    • Operating System:
      ALL
    • # Replies:
      2
    • Last comment by Customer:
      true

      Description

      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

        Issue Links

          Activity

          Hide
          Mathias Stearn
          added a comment -

          I think this is a dup of a bug I just fixed. Could you try pymongo from git master and see if that solves your problem?

          Show
          Mathias Stearn
          added a comment - I think this is a dup of a bug I just fixed. Could you try pymongo from git master and see if that solves your problem?
          Hide
          Andrey Nikishaev
          added a comment -

          I'm having the same issue on pymongo 1.9, mognodb 1.6.5

          Show
          Andrey Nikishaev
          added a comment - I'm having the same issue on pymongo 1.9, mognodb 1.6.5

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                3 years, 12 weeks ago
                Date of 1st Reply: