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

startAtOperationTime and resumeToken violation during automatic retry

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.8
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Essentially a duplicate of https://jira.mongodb.org/browse/JAVA-2987 && https://jira.mongodb.org/browse/NODE-2022  

      The change stream options incorrectly allow the combination of `resume_token` and `start_at_operation_time` during an automatic retry, which triggers an operation failure for "no good reason"

      pymongo.errors.OperationFailure: Only one type of resume option is allowed, but multiple were found..
      

      pr here: https://github.com/mongodb/mongo-python-driver/pull/1641

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            colin@broadstack.com.au Colin Macdonald
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: