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: Fixed
    • Priority: Icon: Unknown Unknown
    • csot-1.0
    • Affects Version/s: None
    • Component/s: CSOT
    • 3
    • Not Needed
    • 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.
    • 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?

      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 required 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
      • Add tests ensuring that all GridFS APIs not covered by spec and prose tests can override timeoutMS configured on parent Db

      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

        There are no Sub-Tasks for this issue.

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

              Created:
              Updated:
              Resolved: