Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1532

Remove max_write_batch_size defaulting

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

      The hello response sent by mongocryptd has the quirk that it doesn't include the maxWriteBatchSize field; in practice this isn't a real issue because insert is never sent to mongocryptd, but the field is otherwise required for all server versions.

      To work around this, the Rust driver defaults the field to 100,000 (the value currently sent by servers) if it's not set. Once mongocryptd support is removed entirely in favor of crypt_shared, this defaulting should be removed.

            Assignee:
            Unassigned Unassigned
            Reporter:
            abraham.egnor@mongodb.com Abraham Egnor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: