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

Remove extra fields from ConnectionPoolOptions included in events

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.0.0-beta.2
    • Affects Version/s: None
    • Component/s: None
    • None

      The CMAP spec only mentions max_pool_size, min_pool_size, and max_idle_time as options that need to be included in ConnectionPoolCreated events. The Rust driver currently includes several more options however, such as TlsOptions. In the future, TlsOptions may include TlsCertificateKeyPassword, which is not something that should be included in an event. We should remove all but the necessary fields to ensure we don't accidentally include information not intended to be included in events.

            Assignee:
            patrick.freed@mongodb.com Patrick Freed
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: