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

Add support for CSOT to GridFS APIs

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: CSOT
    • Hide

      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.

      Show
      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.
    • 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?

      Use Case

      As a... Driver Engineer
      I want... to add CSOT support to GridFS APIs
      So that... the driver will be CSOT spec-compliant

      User Impact

      • N/A: New feature

      Dependencies

      • CSOT require feature

      Unknowns

      • questions that need to be answered to determine implementation

      Acceptance Criteria

      Implementation Requirements

      • Add support for timeoutMS to APIS that create upload or download streams
      • Ensure that GridFS buckets inherit timeoutMS from the parent database
      • Ensure that GridFS API opreations set their internal cursor's timeoutMode to CURSOR_LIFETIME when timeoutMS is set

      Testing Requirements

      • Unskip the following test files
        • gridfs-advanced
        • gridfs-delete
        • gridfs-download
        • gridfs-find
        • grids-upload
      • Implement Prose test #6
      • Implement Prose test #7

      Documentation Requirements

      • Punt to NODE-5688
        • Add code snippets that show how to handle timeout errors to API docs for gridFS timeoutMS options since it will turn into an error event on the stream
        • document state of stream when timeout error is emitted

      Follow Up Requirements

      • None

            Assignee:
            Unassigned Unassigned
            Reporter:
            warren.james@mongodb.com Warren James
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: