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

Remove AbstractCursorOptions.batchSize default to 1000

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • 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... node driver user
      I want... to not set a default batch size in the driver
      So that... the server can tune it as intended (like the other drivers allow it to do)

      Acceptance Criteria

      Implementation Requirements

      • change AbstractCursorOptions.batchSize to default to nothing

      Testing Requirements

      • assert batchSize doesn't default to 1000 when not provided
      • ensure performance is not negatively impacted

      Documentation Requirements

      • API docs changes

            Assignee:
            Unassigned Unassigned
            Reporter:
            aditi.khare@mongodb.com Aditi Khare
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: