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

OperationFailure iterating cursor with multiple mongoses

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker - P1
    • Resolution: Fixed
    • 3.0
    • 3.0.1
    • None
    • None
    • 2.4.6

    Description

      Using the new pymongo-3.0.1_1_d3aa09 containing the fix for PYTHON-897 I see:

          from ahl.mongo.mongoose.fixtures._test_helpers import get_large_ts
      ahl/mongo/mongoose/fixtures/_test_helpers.py:15: in <module>
          mapi = MongooseAPI('research')
      ahl/mongo/mongoose/centaur_api.py:60: in __init__
          elif user_lib in self.mongoose.list_libraries():
      ahl/mongo/decorators.py:91: in f_retry
          _handle_error(f, e, _retry_count, **get_host(args))
      ahl/mongo/decorators.py:84: in f_retry
          return f(*args, **kwargs)
      ahl/mongo/mongoose/mongoose.py:150: in list_libraries
          for coll in self._conn[db].collection_names():
      /users/is/ahlpypi/egg_cache/p/pymongo-3.0.1_1_d3aa09-py2.7-linux-x86_64.egg/pymongo/database.py:491: in collection_names
          names = [result["name"] for result in results]
      /users/is/ahlpypi/egg_cache/p/pymongo-3.0.1_1_d3aa09-py2.7-linux-x86_64.egg/pymongo/command_cursor.py:168: in next
          if len(self.__data) or self._refresh():
      /users/is/ahlpypi/egg_cache/p/pymongo-3.0.1_1_d3aa09-py2.7-linux-x86_64.egg/pymongo/command_cursor.py:137: in _refresh
          _GetMore(self.__ns, self.__batch_size, self.__id))
      /users/is/ahlpypi/egg_cache/p/pymongo-3.0.1_1_d3aa09-py2.7-linux-x86_64.egg/pymongo/command_cursor.py:106: in __send_message
          self.__collection.codec_options)
      /users/is/ahlpypi/egg_cache/p/pymongo-3.0.1_1_d3aa09-py2.7-linux-x86_64.egg/pymongo/helpers.py:122: in _unpack_response
          error_object)
      E   OperationFailure: database error: could not find cursor in cache for id 7892124782846971950 over collection mongoose.system.namespaces
      

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jblackburn James Blackburn
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: