Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2759

assertion failed ids not match

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.7.6
    • Component/s: Sharding
    • Labels:
      None
    • Environment:
      pymongo 1.9
    • ALL

      got assertion failed ~30000 times and recover afterwards

      Traceback (most recent call last):
      File "dbconnector.py", line 32, in eval_cmd
      res = eval_expr(block, variables)
      File "dbconnector.py", line 25, in eval_expr
      return eval(expr,

      {"__builtins__":None}

      , variables )
      File "<string>", line 1, in <module>
      File "dbmodules.py", line 232, in login
      user = mdb.users.find_and_modify(query=

      {USER_UDID:udid}

      , update={"$set": {USER_VERSION:ClientVersion}})
      File "build/bdist.linux-x86_64/egg/pymongo/collection.py", line 1061, in find_and_modify
      allowable_errors=[no_obj_error], **kwargs)
      File "build/bdist.linux-x86_64/egg/pymongo/database.py", line 288, in command
      _is_command=True)
      File "build/bdist.linux-x86_64/egg/pymongo/collection.py", line 469, in find_one
      for result in self.find(spec_or_id, *args, **kwargs).limit(-1):
      File "build/bdist.linux-x86_64/egg/pymongo/cursor.py", line 601, in next
      if len(self.__data) or self._refresh():
      File "build/bdist.linux-x86_64/egg/pymongo/cursor.py", line 564, in _refresh
      self._query_spec(), self._fields))
      File "build/bdist.linux-x86_64/egg/pymongo/cursor.py", line 521, in __send_message
      **kwargs)
      File "build/bdist.linux-x86_64/egg/pymongo/connection.py", line 790, in _send_message_with_response
      return self.__send_and_receive(message, sock)
      File "build/bdist.linux-x86_64/egg/pymongo/connection.py", line 771, in __send_and_receive
      return self.__receive_message_on_socket(1, request_id, sock)
      File "build/bdist.linux-x86_64/egg/pymongo/connection.py", line 761, in __receive_message_on_socket
      struct.unpack("<i", header[8:12])[0])
      AssertionError: ids don't match -1484018265 895640889

            Assignee:
            Unassigned Unassigned
            Reporter:
            ofersa ofer samocha
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: