Remove AbstractCursorOptions.batchSize default to 1000

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Cursors
    • 2
    • None
    • 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?
    • None
    • None
    • None
    • None
    • None
    • None

      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 (we expect to see an improvement)

      Documentation Requirements

      • API docs changes
      • Double check the public docs - mark as docs changes needed if there is currently a default

            Assignee:
            Bailey Pearson
            Reporter:
            Aditi Khare (Inactive)
            Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: