Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3642

Store scram secrets in topology scanner

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.17.0-rc0
    • Component/s: None
    • Labels:
      None

      Scram secrets are currently cached in mongoc_cluster_t, which is not available when doing speculative auth for single-threaded clients in the topology scanner. To work around this limitation, scram secrets should no longer be cached in mongoc_cluster_t, but rather mongoc_topology_scanner_t.

      This came up during the code review for CDRIVER-3559 (see https://mongodbcr.appspot.com/563660001/diff/561540009/src/libmongoc/src/mongoc/mongoc-cluster.c#newcode1361)

            Assignee:
            Unassigned Unassigned
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: