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

Test Failure - Change streams on mongos

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • None

      This is happening on mongod --version:
      db version v3.7.0-34-ga452fd9ec9
      git version: a452fd9ec9aad8262ae203338d5247682de5248f

       ERROR: The resume token UUID does not exist. Has the collection been dropped? (OperationFailure)
       Traceback (most recent call last):
         File "/data/mci/f4a9be8d713e1760a9192d99155f744a/src/test/test_change_stream.py", line 97, in test_watch
           with self.coll.watch(resume_after=resume_token):
         File "/data/mci/f4a9be8d713e1760a9192d99155f744a/src/pymongo/collection.py", line 2303, in watch
           max_await_time_ms, batch_size, collation, session)
         File "/data/mci/f4a9be8d713e1760a9192d99155f744a/src/pymongo/change_stream.py", line 64, in __init__
           self._cursor = self._create_cursor()
         File "/data/mci/f4a9be8d713e1760a9192d99155f744a/src/pymongo/change_stream.py", line 81, in _create_cursor
           collation=self._collation, maxAwaitTimeMS=self._max_await_time_ms)
         File "/data/mci/f4a9be8d713e1760a9192d99155f744a/src/pymongo/collection.py", line 2183, in aggregate
           **kwargs)
         File "/data/mci/f4a9be8d713e1760a9192d99155f744a/src/pymongo/collection.py", line 2090, in _aggregate
           client=self.__database.client)
         File "/data/mci/f4a9be8d713e1760a9192d99155f744a/src/pymongo/pool.py", line 488, in command
           retryable_write=retryable_write)
         File "/data/mci/f4a9be8d713e1760a9192d99155f744a/src/pymongo/network.py", line 136, in command
           parse_write_concern_error=parse_write_concern_error)
         File "/data/mci/f4a9be8d713e1760a9192d99155f744a/src/pymongo/helpers.py", line 146, in _check_command_response
           raise OperationFailure(msg % errmsg, code, response)
       pymongo.errors.OperationFailure: The resume token UUID does not exist. Has the collection been dropped?
      

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: