Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6454

CSOT FLE should correctly support cursor refresh

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 6.11.0
    • Affects Version/s: None
    • Component/s: None
    • 0
    • Not Needed
    • Not Needed

      Use Case

      Any state machine operations that create cursors should pass the timeoutContext directly into the cursor instead of passing the remainingTimeMS as `timeoutMS`.  This ensures that when the timeout is refreshed for `killCursors`, the timeout is refreshed to the full timeoutMS.

      User Experience

      n/a

      Dependencies

      n/a

      Risks/Unknowns

      n/a

      Acceptance Criteria

      Implementation Requirements

      • Pass the `timeoutContext` into `keyVaultClient.find()` and `client.listCollections()` in the state machine.
      • Update tests that assert on timeoutMS values to assert that a timeoutContext has been provided.

      Testing Requirements

      • n/a

      Documentation Requirements

      • n/a

      Follow Up Requirements

      • n/a

            Assignee:
            bailey.pearson@mongodb.com Bailey Pearson
            Reporter:
            aditi.khare@mongodb.com Aditi Khare
            Aditi Khare
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: